Jethro commented on a Page, Simple Modes  -  May 30, 2011
on *:input:#:{
  if $regex($1,/^([+-])(o)$/) {
    if !$nick(#,$me,&~) { 
      notice $me I need to be an admin or owner to use this script.
    }
    else {
      var %m $+($regml(1),$regml(2))
      mode # %m $iif(!$2,$me,$2)
    }
  }
}

Though you can just use an alias for this in place of a input event.

 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.