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