Originally Posted by Epic
Try using this code:
Code
on *:TEXT:!play*:#:{
  if ($2 == $null) { notice $nick You must provide a numeric value:12 !play <number> | halt }
  if (($2 !isnum) || ($2 > 36)) { notice $nick You can only bet numerical values:12 0-36 | halt }
  if ($2 < 0) { notice $nick You can not use negative numbers. | halt }
  msg $chan All checks have been passed. Let's start spinning the roulette wheel.
}

Command syntax: !play <0-36>

It almost work. The problem is that if I bet for example BLACK or RED I have notice error. Same if I bet column,row,even,odd