on *:text:!war*:#eCasino.war: { if (!$2) { msg $chan The correct syntax is $1 } elseif ($2 !isnum 100-500) { msg $chan $nick $+ , your bet must be within 100-500. } else { var %num = $rand(0,100) var %num2 = $rand(0,100) msg #eCasino.war 2 $nick , you have rolled %num and [eCasino] has rolled %num2 $iif(%num >= %num2,msg #eCasino.war 3 $nick , you have won your bet of $2 ,msg #eCasino.war 4 $nick , you have lost your bet of $2 ) } } }