Unnamed
public text v1 · immutableon 1:TEXT:!game *:#:{
/write -l1 $chan $+ game.txt $rand($2 $+ , $+ $3 $+)
/msg $chan I'm thinking of a number between $2 and $3 $+ . }
on 1:TEXT:!guess *:#:{
if ($2 == $read( $chan $+ game.txt ) {
/msg $chan Well done $nick $+ ! You got it!!
/write -l1 $chan $+ game.txt $null }
else {
/msg $chan Not quite $nick $+ ! Keep trying! }
}