cool i like it, be good if it didnt kick yourself as well tho. i use this one but again this also kicks me
mkb { if (!$chan) thmecho Error: You are not on a channel. | elseif ($me !isop $chan) thmecho Error: You are not a channel operator on $thmhl($chan) $+ . | elseif ($nick(#,0) == 1) thmecho Error: You are the only user on $thmhl($chan) $+ . | else { thmecho Attempting to masskick $thmhl($calc($nick(#,0) -1)) users from $thmhl($chan) $+ . | var %x = $nick(#,0) | while (%x) { if ($nick(#,%x) != $me) { mode $chan +b $address($nick(#,%x),2) | kick $chan $nick(#,%x) Mass kick: $iif($1-,$1-,Reason not specified.) } | dec %x } } }
goes in alisases then ya type /mkb reason
[17:19] * You were kicked by Jay (Mass kick: closed)