Jethro commented on a Page, Ultimate mass mode  -  Dec 21, 2010

zaiger, you may want to try this version:

alias mass {
  var %i 1,%p,%m $modespl,%mass,%1 isin
  if $$1 %1 +oop { %p = $+(+,$str(o,%m)) }
  elseif $$1 %1 -odeop { %p = $+(-,$str(o,%m)) }
  elseif $$1 %1 +hhop { %p = $+(+,$str(h,%m)) }
  elseif $$1 %1 -hdehop { %p = $+(-,$str(h,%m)) }
  elseif $$1 %1 +vvoice { %p = $+(+,$str(v,%m)) }
  elseif $$1 %1 -vdevoice { %p = $+(-,$str(v,%m)) }
  while $nick(#,%i) { $iif($v1 != $me,%mass = %mass $v1)
    if ($gettok(%mass,0,32) = %m || $nick(#,0) = %i) {
  mode # %p %mass | %mass = "" } | inc %i }
}
zaiger  -  Dec 13, 2014

Thanks Jethro :)

Sign in to comment

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.