on *:TEXT:.8ball*:#:{ if ($2- == $null ) { /msg # 4Error - No question asked. | halt } /set %8ball $rand(1,2) if (%8ball == 1) /msg # RESPONSE 1 if (%8ball == 2) /msg # RESPONSE 2 etc VERY IMPORTANT: On the $rand(1,#) - the # MUST always be the last number on the if statements. On the example: $rand(1,2) $rand(#1,#2) = Chooses a number #1-#2