Jethro commented on a Page, ShortCuts  -  Jun 18, 2009

This is all you need for mode change instead of doing all the if and elseif statements:

on @*:INPUT:#: { 
  if ($regex($1,/^((?:\+)|(?:\-))([a-zA-Z]+)$)) { 
    mode # $+($regml(1),$regml(2)) 
  } 
}

Note: I didn't include the chanop and ban but they can be added this way.

 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.