Mass

By Acclamator on Dec 19, 2008

This is a simple mass script. I have seen many of these, but they all have trouble with huge amounts of people. Mine is designed for few people or LOTS.
these are examples of how to use it.
/mass - v
/mass + v
/mass - o
/mass + o
You must be in the channel.

alias mass { var %chanpeeps $nick($chan,0,rvo)
  var %mass1 1, %mass2 2, %mass3 3, %mass4 4, %mass5 5, %mass6 6 
  while (%chanpeeps > %mass1) { mode $chan $+($1,$str($2,6)) $nick($chan,%mass1,rvo) $nick($chan,%mass2,rvo) $nick($chan,%mass3,rvo) $nick($chan,%mass4,rvo) $nick($chan,%mass5,rvo) $nick($chan,%mass6,rvo) | inc %mass1 5 | inc %mass2 5 | inc %mass3 5 | inc %mass4 5 | inc %mass5 5 | inc %mass6 5 
  }
}

Comments

Sign in to comment.
Acclamator   -  Dec 20, 2008

It works perfect for me, are you sure you are running the newest mirc?

 Respond  
Vermillion   -  Dec 19, 2008

What is the correct syntax? I tried /mass +o and /mass + o :( Won't work.. I just get the incorrect syntax echo.

 Respond  
xplo   -  Dec 19, 2008
alias mass { 
  if ($regex($1-,/^[+-][ovb]$/)) { 
    var %a = 1, %nicks 
    while ($nick(#,%a) != $null) { 
      if ($v1 != $me) { 
        var %nicks = %nicks $v1 
        if ($modespl == $numtok(%nicks,32)) { .mode # $+($left($1,1),$str($right($1,1),$v2)) %nicks | var %nicks } 
      } 
      inc %a 
    } 
    if (%nicks != $null) .mode # $+($left($1,1),$str($right($1,1),$numtok(%nicks,32))) %nicks 
  } 
  else echo -a Specify A Correct Mode: [+|-] [o|v|b] 
}

:)

 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.