maybe have it make sure you don't ban yourself
alias banall { var %a = $nick(#,0) while (%a) { if ($nick(#,%a) != $me) ban -k # $v1 Banall dec %a } }