Mass Ops

By Flaze on Mar 08, 2008

I am reposting my old "Mass Script"
To Activate it, Type /MASS Then either +/- vhoaq
e.g. /MASS +o

Fixing it up a bit more this time, So it will be more durable, This is the first time I have scripted in 4 months so if there's a mistake, Point it out and i'll get right on it, Thank you.

alias mass {
  if ($me ison $chan) {
    if ($1 isin +vvoice) { set %prefix $+(+,$str(v,$modespl)) | goto start }
    if ($1 isin -vdevoice) { set %prefix $+(-,$str(v,$modespl)) }
    if ($1 isin +oop) { set %prefix $+(+,$str(o,$modespl)) | goto start }
    if ($1 isin -odeop) { set %prefix $+(-,$str(o,$modespl)) }
    if ($1 isin +qowner) { set %prefix $+(+,$str(q,$modespl)) | goto start }
    if ($1 isin -qdeowner) { set %prefix $+(-,$str(q,$modespl)) }
    if ($1 isin +aprotect) { set %prefix $+(+,$str(a,$modespl)) | goto start }
    if ($1 isin -adeprotect) { set %prefix $+(-,$str(a,$modespl)) }
    if ($1 isin +hhalfop) { set %prefix $+(+,$str(h,$modespl)) | goto start }
    if ($1 isin -hdehalfop) { set %prefix $+(-,$str(h,$modespl)) }
    if ($1 isin +eexcept) { set %prefix $+(+,$str(e,$modespl)) | goto start }
    if ($1 isin -eunexcept) { set %prefix $+(-,$str(e,$modespl)) }
    if ($1 isin +Iinvitelist) { set %prefix $+(+,$str(I,$modespl)) | goto start }
    if ($1 isin -Iinvitelist) { set %prefix $+(-,$str(I,$modespl)) }
    if ($1 isin +bban) { set %prefix $+(+,$str(b,$modespl)) | goto start }
    if ($1 isin -bunban) { set %prefix $+(-,$str(b,$modespl)) }
    :start
    set %massing $nick($chan,0)
    while (%massing) {
      if ($nick($chan,%massing) != $me) { set %mass1 %mass1 $nick($chan,%massing) }
      if ($gettok(%mass1,0,32) = $modespl) { mode $chan %prefix %mass1 | unset %mass1 }
      dec %massing
    }
    mode $chan %prefix %mass1 | unset %mass1 
  }
}

Comments

Sign in to comment.
Jonesy44   -  Mar 08, 2008

lol, strange .. im sure you could change your name somwhere ..

 Respond  
Flaze   -  Mar 08, 2008

No, I found that this name was available, So I registered it.

 Respond  
guest598594   -  Mar 08, 2008

did you forget your password or something?

 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.