on *:TEXT:!roulette:#:{
set %roulette $rand(1,25) | set %rnick $nick
msg $chan %rnick has started the game of roulette. | notice %rnick please type !guess <number between 1 and 25>
}
on *:TEXT:!guess*:#:{
if ($2 == %roulette) describe $chan spins the wheel around and the ball lands on %roulette | msg $chan %rnick has won! | unset %rnick | unset %roulette
if ($2 != %roulette) describe $chan spins the wheel around and the ball lands on %roulette | msg $chan $nick has lost! | unset %rnick | unset %roulette | halt
}