That is a good mass mode code, but a timer can be used to massively give out modes to people in intervals. This decreases the chances of flooding in a big channel. The double slashes are not needed. Furthermore, your code can be altered to mode people horizontally, rather than vertically. Here are what I mean:> alias massmode { var %nicks 1 | while (%nicks <= $nick(#,0)) { .timer 1 $calc(%nicks * 2) mode $!chan $1 $iif($nick(#,%nicks) != $me,$v1) | inc %nicks } }Below is an example of giving modes horizontally:
alias massmode { var %x, %nicks 1 | while ($nick(#,%nicks)) { if ($v1 != $me) { %x = %x $v1 } | inc %nicks } | mode # $str($1,$nick(#,0)) %x }
Also, you don't want to mode yourself. I added $nick != $me to negate that occurrence.