on *:input:#: {
if ($1 == !guesson) { /set %number $rand(1,100) | set %guess on | .timer 1 .5 msg $chan Type !guess <number> }
if (((%guess == on) && ($1 == !guess) && ($2 < %number))) { .timer 1 .5 msg $chan Greater then $2 {
else { msg $chan a game of guesing is not on, type !guesson to start it. }
if (((%guess == on) && ($1 == !guess) && ($2 > %number)) { .timer 1 .5 msg $chan Less then $2 {
else { msg $chan a game of guesing is not on, type !guesson to start it. }
if (((%guess == on) && ($1 == !guess) && ($2 == %number)) { .timer 1 .5 msg $chan Wahoo $nick $+ , you got it right, the number was %number | unset %number {
else { msg $chan a game of guesing is not on, type !guesson to start it. }
}
}
}
}
}
}
}