napa182 commented on a Page, Starting of a bot  -  Jun 25, 2011

If you are going to use regex in your on text events you may as well use $regml()
you could do where $regml(1) would be ! or . or @ and $regml(2) would be cash or lot.

on $*:TEXT:/^([!.@])(cash|lot)\b/iS:#: {

then on ur

$iif($left($1,1) == @,.msg #,.notice $nick)

change it to

$iif($regml(1) = @,.msg #,.notice $nick)

keep at it..

 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.