on *:text:*:?: { if ($nick ison #yourchan && $me isop #yourchan) { ban -k #yourchan $address($nick,2) } }