Jethro commented on a Page, Mass Channel Modes  -  Aug 29, 2011

Since I have mIRC with me at the moment, I'll show you what I meant:

alias mass {
  if ($regex($1,/^([+-])([vhoaq])$/S)) { 
    var %1 = $regml(1), %2 = $regml(2), %- = $nick(#,0) 
    while (%-) {
      var %m = %m $iif($nick(#,%-) != $me,$v1)
      if ($numtok(%m,32) == $modespl) {
        mode # $+(%1,$str(%2,$v1))
      }
      dec %-
    }
    if (%m) mode # $+(%1,$str(%2,$numtok(%m,32))) %m
  }
}

This is for demonstration purposes only.

 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.