Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:.erth:#: {
- if ($nick isop $chan) {
- ;numbers :)
- var %1 = $rand(1,50)
- :number2
- var %2 = $rand(1,50)
- if (%1 == %2) goto number2
- :number3
- var %3 = $rand(1,50)
- if (%1 == %3) // if (%2 == %3) goto number3
- :number4
- var %4 = $rand(1,50)
- if (%1 == %4) // if (%2 == %4) // if (%3 == 4) goto number4
- :number5
- var %5 = $rand(1,50)
- if (%1 == %5) // if (%2 == %5) // if (%3 == %5) // if (%4 == %5) goto number5
- ;stars :)
- var %6 = $rand(1,9)
- :star2
- var %7 = $rand(1,9)
- if (%6 == %7) goto star2
- var %m = msg $chan
- var %t = .timer 1
- var %full = %1 %2 %3 %4 %5
- var %stars = %6 %7
- %t 1 mode $chan +m
- %t 5 %m Welcome to the eRep-Thousands Raffle
- %t 10 %m The bets were set, now we'll see who won.
- %t 15 %m Please wait while the raffle is occuring. Thank you.
- %t 18 %m ~vrooom~ ball spining
- %t 23 %m And the first number is...
- %t 28 %m 4 $+ %1 $+ !!!
- %t 32 %m Here goes the second one...
- %t 37 %m 4 $+ %2 $+ !!!
- %t 41 %m Ohhh!... Not the third one!...
- %t 46 %m 4 $+ %3 $+ !!!
- %t 50 %m And there goes the fourth...
- %t 55 %m 4 $+ %4 $+ !!!
- %t 59 %m Last but not least...
- %t 64 %m 4 $+ %5 $+ !!!
- %t 68 %m Now those are your numbers. Let's see the lucky stars!
- %t 71 %m The first star is a 4 $+ %6 $+ !!!
- %t 76 %m Let's hear what the wheel has to say.
- %t 81 %m 4 $+ %7 $+ !!!
- %t 85 %m The raffle has now ended.
- %t 88 %m The chosen numbers are 4 $+ $sorttok(%full, 32, n) and the stars are 4 $+ $sorttok(%stars, 32, n)
- %t 92 %m All of these numbers have been chosen randomly with no interference from human hands.
- %t 99 mode $chan -m
- }
- else msg $chan You are not part of the eRep-Thousands' staff.
- }
Advertisement
Add Comment
Please, Sign In to add comment