copy / paste in remotes [ alt + r ]
and thats it tested on a few servers uses the same method as the nicklist mass modes i posted a few weeks back! i now see what astro was saying as to using $1 i was using 2 useless %vars bascially o_O, updated code to use $1 now, not thats it any faster at all
alias cpm {
if ($me !isop $chan) { echo -a you need +q to perform some of these modes +a +o to perform the rest of the modes | .return }
var %all = $nick(#,0),%kick = 0
:start
if (%kick > %all) { .return }
inc %kick | if ($nick(#,%kick) == $me) { goto start }
mode # $1 $nick(#,%kick) | goto start
}
menu channel {
[mass]
.[mass+q]:$cpm(+q)
.[mass-q]:$cpm(-q)
.[mass+a]:$cpm(+a)
.[mass-a]:$cpm(-a)
.[mass+o]:$cpm(+o)
.[mass-o]:$cpm(-o)
.[mass+h]:$cpm(+h)
.[mass-h]:$cpm(-h)
.[mass+v]:$cpm(+v)
.[mass-v]:$cpm(-v)
}