Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on $*:TEXT:/^[!@.](rainbow)/Si:#: {
- CookieItems $chan
- if (%rainbowtime [ $+ [ $nick ] ] > 0) { .notice $nick 14(4Error14): You must wait $duration(%rainbowtime [ $+ [ $nick ] ]) before doing this again
- set -z %rainbowtime [ $+ [ $nick ] ] $r(900,1200)
- //var %x = $r(1,15)
- if (%x = 1) {
- inc %lightcookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found a 8Lightning14 Cookie!
- }
- if (%x = 3) {
- inc %thiefcookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found a 6Thieving14 Cookie!
- }
- if (%x = 5) {
- inc %BusinessCookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found a 3Business14 Cookie!
- }
- if (%x = 7) {
- inc %Lhousecookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found a 11Lighthouse14 Cookie!
- }
- if (%x = 9) {
- inc %SafeCookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found a 7Safety14 Cookie!
- }
- if (%x = 11) {
- inc %InvisibleCookie [ $+ [ $nick ] ] 1
- .notice $nick 14Congratulations! You just found an 15Invisible14 Cookie!
- }
- if (%x = 2) || (%x = 4) || (%x = 6) || (%x = 8) || (%x = 10) || (%x >= 12) {
- .notice $nick 4Sorry14! You didn't find any cookies this go around! Try again in7 $duration(%rainbowtime [ $+ [ $nick ] ])
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement