Jethro commented on a Page, Mass modes popup  -  Sep 17, 2009
menu nicklist {
  Mass Modes
  .$submenu($massmode($1))
}
alias massmode {
  var %c = $+($,chan), %n = $+($,1-)
  if ($1 = begin) return -
  if ($1 = 1) return Owner:mode %c $+(+,$str(q,$modespl)) %n
  if ($1 = 2) return Deowner:mode %c $+(-,$str(q,$modespl)) %n
  if ($1 = 3) return Protect:mode %c $+(+,$str(a,$modespl)) %n
  if ($1 = 4) return Deprotect:mode %c $+(-,$str(a,$modespl)) %n
  if ($1 = 5) return Op:mode %c $+(+,$str(o,$modespl)) %n
  if ($1 = 6) return Deop:mode %c $+(-,$str(o,$modespl)) %n
  if ($1 = 7) return Halfop:mode %c $+(+,$str(h,$modespl)) %n
  if ($1 = 8) return Dehalfop:mode %c $+(-,$str(h,$modespl)) %n
  if ($1 = 9) return Voice:mode %c $+(+,$str(v,$modespl)) %n
  if ($1 = 10) return Devoice:mode %c $+(-,$str(v,$modespl)) %n
  if ($1 = end) return -
}
 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.