Aurora801 commented on a Page, uh talking thingy  -  Aug 03, 2010

Heh. Go you, dude. My very first script was something like

on *:TEXT:**:#: { msg $chan someone needs to spell correctly!! }

which sucked, because it triggered on everything. I think after this try some regex. I'm not to heed with th whole $reg* shit but here's an example of the event trigger

on $*:TEXT:/^[.!]text(1|2|3|4|5)/Si:#:

this will check for either ".text" or "!text" followed by a number from one to five. This probably isn't the best way to do regex with numbers like that, but I'm just starting regex now. What you could do after it is "set %text $right(&1,1)" then have something check for what %text is, and send the appropriate.

 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.