This script will kick everybody you can kick off a channel.
It works by doing a /names, saving the data, removing useless parts of information, and then turns it into a list of users to kick.
Syntax: /masskick
Alternatively, you can right click on the nick list, goto "Control", and then click on "Mass Kick".
menu nicklist {
Control
.Mass Kick { masskick $chan }
}
alias masskick {
if ($1 != $null) { set -u5 %channel $1 | names $1 }
}
raw 353:*:{
if ($3 == %channel) {
set %masskick $remove($1-,^,~,&,@,%,+,$me = $3)
set %loop $numtok(%masskick,32)
while (%loop > 0) {
if ($gettok(%masskick,%loop,32) != $me) { kick %channel $gettok(%masskick,%loop,32) Masskick! }
dec %loop
}
unset %masskick %channel %loop
}
}