SReject commented on a Page, Chatspace/ircd checker  -  Jan 08, 2012

be weary. b/c 'q' in channel modes can be both for 'quiet' or for 'admin'
Hence the 2nd check to make sure q is a mode that will effect a nick's power in the channel.

I updated it, atleast the name, and removed a check to make it more clear. Basically I check if q changes the nick's control level, and if so return $true. so:

if ($qIsAdminMode) {
  ;this will make $1 a channel admin:
  mode # +q $1
}
else {
  ;this will 'quiet' $1
  mode # +q $address($1,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.