Share Pastebin
Guest
Public paste!

Benjii - This is why we smoke

By: a guest | Mar 20th, 2010 | Syntax: None | Size: 1.34 KB | Hits: 64 | Expires: Never
Copy text to clipboard
  1. on $*:text:/^[.@!]slaytask$/Si:#: {
  2.   if (%slaytimer [ $+ [ $nick ] ] !== $null) { notice $nick Wait $duration($timer(cash $+ $nick).secs) before using the .slaytask command. | halt }
  3.   timerslay $+ $nick 1 $r(60,120) unset %slaytimer [ $+ [ $nick ] ]
  4.   set %slaytimer [ $+ [ $nick ] ] 1
  5.   notice $nick Wait $duration($timer($+(slay,$nick)).secs) before using the .slaytask command again.
  6.  
  7.   var %slayxp $rand(1,6)
  8.   if (%slayxp == 1) { notice $nick You got given the task 22 Minotaur's, you complete the task gaining 240 Slayer exp.
  9.     inc %slayxp [ $+ [ $nick ] ] 240
  10.   }
  11.   if (%slayxp == 2) { notice $nick You got given the task 14 Chicken's, you complete your task gaining 28 Slayer exp.
  12.     inc %slayxp [ $+ [ $nick ] ] 28
  13.   }
  14.   if (%slayxp == 3) { notice $nick You got given the task 32 Cow's, you kill them gaining 256 Slayer exp.
  15.     inc %slayxp [ $+ [ $nick ] ] 256
  16.   }
  17.   if (%slayxp == 4) { notice $nick You got given the task 14 Bird's, you chose to kill ducks gaining 28 Slayer exp
  18.     inc %slayxp [ $+ [ $nick ] ] 28
  19.   }
  20.   if (%slayxp == 5) { notice $nick You got given the task of 17 Bird's, you chose to kill Seagulls gaining 14 Slayer exp
  21.     inc %slayx[ [ $+ [ $nick ] ] 14
  22.   }
  23.   if (%slayxp == 6) { Notice $nick You got given the task 31 Goblin's, you kill them gaining 155 Slayer exp
  24.     inc %slayxp [ $+ [ $nick ] ] 155
  25.   }
  26. }