:P Gummo. Thanks for spotting that, but if you looked closely, the only suggestion I made was for Tidum to combine two same routines using an alias to save some bytes. I didn't even look at the actual, original code. I should have done so though. As you should have seen, I copied it straight from him. While I'm at it, I might as well take your word for it and fix it:
on *:ban:#:banfinder
on *:unban:#:banfinder
alias -l banfinder {
var %x 1, %y $remove($address($nick,1),*!*)
while $nick($active,%x) {
if $banmask iswm $ial($banmask,%x) {
var %nicks $addtok(%nicks,$ialchan($banmask,$chan,%x).nick,32)
inc %x
}
echo -t # $iif($event = ban,$+($chr(3),7,Ban),$+($chr(3),7,Unban)) $&
of14 $banmask 07by14 $nick $+ ( $+ %y $+ ) 07affects:14 %nicks $+ 07.
}
}