AR scripts!

icon315

Member
Anti-Raffles are good part of a /c games (AKA /games) these willl help you with hosting one


ArWinner.ash 1.1
:
Determines which of your buyers is the winner of your AR.
In the First Option give the number of tickets involved in the game, then put the number of the winning ticket (what Chatbot or Smashbot rolled in /games). It will then show you the name of the winner in the CLI....then the rest is up to you!
 

Attachments

Last edited:
It looks like there's a slight problem with the ArWinner.ash code. On line 19, where it reads

Code:
int NumberBoughtEnd = index_of( log , "[B])[/B]" , NumberBoughtStart ) - 1;

it should instead read
Code:
int NumberBoughtEnd = index_of( log , "[B]([/B]" , NumberBoughtStart ) - 1;
 
THanks
btw, at the end of my Ar hosting script i have a print( ); function......is there a way to make it so that this shows up as an even instead of jsut a messsage?
 
Last edited:
Back
Top