on *:text:-number-:#: { if (%guessnumber != 0) { msg $chan there's a game running atm end it first | halt } set %guessnumber $rand(1,10) /timer1 1 3 msg $chan 14OK! Im thinking of a number between 1 and 10, guess it correctly and you win! Guess by doing -guess- number . } on *:text:-guess- *:#: { if (%guessnumber == 0) { msg $chan theres no game running atm! | halt } if ($2 !isnum 1-10) { msg $chan Notice : its a number from 1 to 10 dont try any other numbers. | halt } if ($2 != %guessnumber) { msg $chan Nope. | halt } if ($2 == %guessnumber) { /msg $chan 7[~ 4 $nick 7~] 14is the Winner!!! set %guessnumber 0 } } on *:text:-stop-:#:{ if ($nick isop $chan || $nick ishop $chan) { /msg $chan 7 $nick 14has ended the Number Game early. set %guessnumber 0 } }