Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:dice:#:{
- var %nicks = Mossssie Patje
- if ($istok(%nicks, $nick, 32)) {
- var %aantal = 1, %sides = 100
- if ($int($2) isnum 1-) {
- var %aantal = $int($2)
- }
- if ($int($3) isnum 1-) {
- var %sides = $int($3)
- }
- var %i = 0
- while (%i <= %aantal) {
- inc %i
- .timer 1 $calc(%i * 2) msg $chan $nick Rolled A %sides $+ -sided die, die %i of %aantal $+ : Result $rand(1, %sides)
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment