Jethro commented on a Page, Simple Voice Halfop Op snippet  -  Jan 05, 2012

Since you've used regex, why not take advantage of $regml() :

on @*:input:#:{
  if ($regex($1,/([+-])([vhoaq])/)) {
    if ($2 !ison #) { 
      echo 4 User is not currently in the channel. 
      halt 
    }
    mode # $+($regml(1),$regml(2)) $2
  }
}
 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.