Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. on $*:TEXT:/^[!@.](rainbow)/Si:#: {
  2. CookieItems $chan
  3. if (%rainbowtime [ $+ [ $nick ] ] > 0) { .notice $nick 14(4Error14): You must wait $duration(%rainbowtime [ $+ [ $nick ] ]) before doing this again
  4. set -z %rainbowtime [ $+ [ $nick ] ] $r(900,1200)
  5. //var %x = $r(1,15)
  6. if (%x = 1) {
  7. inc %lightcookie [ $+ [ $nick ] ] 1
  8. .notice $nick 14Congratulations! You just found a 8Lightning14 Cookie!
  9. }
  10. if (%x = 3) {
  11. inc %thiefcookie [ $+ [ $nick ] ] 1
  12. .notice $nick 14Congratulations! You just found a 6Thieving14 Cookie!
  13. }
  14. if (%x = 5) {
  15. inc %BusinessCookie [ $+ [ $nick ] ] 1
  16. .notice $nick 14Congratulations! You just found a 3Business14 Cookie!
  17. }
  18. if (%x = 7) {
  19. inc %Lhousecookie [ $+ [ $nick ] ] 1
  20. .notice $nick 14Congratulations! You just found a 11Lighthouse14 Cookie!
  21. }
  22. if (%x = 9) {
  23. inc %SafeCookie [ $+ [ $nick ] ] 1
  24. .notice $nick 14Congratulations! You just found a 7Safety14 Cookie!
  25. }
  26. if (%x = 11) {
  27. inc %InvisibleCookie [ $+ [ $nick ] ] 1
  28. .notice $nick 14Congratulations! You just found an 15Invisible14 Cookie!
  29. }
  30. if (%x = 2) || (%x = 4) || (%x = 6) || (%x = 8) || (%x = 10) || (%x >= 12) {
  31. .notice $nick 4Sorry14! You didn't find any cookies this go around! Try again in7 $duration(%rainbowtime [ $+ [ $nick ] ])
  32. }
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement