napa182 commented on a Page, Bot color changer  -  Jun 20, 2011

if you are going to use regex you may as well use $regml() just replace where you have $2- or $2 with $regml(2)
this is just a example :

On $*:Text:/^!(theme|color)?\s?(\d+)?/Si:#:{
  if ($nick($chan,$nick,@&~)) {
    if ($regml(2) !isnum 0-15) {
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.