on *:input:#: { if ($1 == !guesson) { /set %number $rand(1,100) { msg $chan Type !guess } } } on *:input:#: { if (($1 == !guess) && ($2 < %number)) { msg $chan Less then $2 } if (($1 == !guess) && ($2 > %number)) { msg $chan Greater then $2 } if (($1 == !guess) && ($2 == %number)) { msg $chan Wahoo $nick $+ , you got it right, the number was %number2 } }