Advertisement
Wikked

mass modes

Oct 30th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.50 KB | None | 0 0
  1. alias mass {
  2.   var %i 1,%p,%m $modespl,%mass,%1 isin
  3.   if $$1 %1 +op { %p = $+(+,$str(o,%m)) }
  4.   elseif $$1 %1 -deop { %p = $+(-,$str(o,%m)) }
  5.   elseif $$1 %1 +hop { %p = $+(+,$str(h,%m)) }
  6.   elseif $$1 %1 -dehop { %p = $+(-,$str(h,%m)) }
  7.   elseif $$1 %1 +voice { %p = $+(+,$str(v,%m)) }
  8.   elseif $$1 %1 -devoice { %p = $+(-,$str(v,%m)) }
  9.   while $nick(#,%i) { $iif($v1 != $me,%mass = %mass $v1)
  10.     if ($gettok(%mass,0,32) = %m || $nick(#,0) = %i) {
  11.   mode # %p %mass | %mass = "" } | inc %i }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement