Jethro commented on a Page, Simple Modes  -  Sep 05, 2011

Well, it didn't have to be regex:

on *:input:#:{
  if ($istokcs(+o -o,$1,32)) {
    if (!$nick(#,$me,&~)) {
      notice $me I need to be an admin or owner to use this script.
    }
    else {
      mode # $1 $iif(!$2,$me,$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.