Hey folks!

Im trying to make a little script that deops and bans everyone that attempts to ban a user in my channel. My code is:

Code:
on *:BAN:#mychannel:{ mode $chan -o+b $nick $address($nick,2) | .timer 1 3 kick $chan $nick BAN PROTECTION. }


That works, but if the user is attempt to mass ban, my bot fails to ban him. How can i solve this?

Best Regards, Tordie.