I use mc_banchan, and it works, but it did need some modifications to work with tcl-special chars, and unfortunately the author no longer maintains it. It worked ok as long as you were not trying to use wildcards or tcl-special chars in the masks (it couldn't delete wildcards, you'd have to do it manually.)
I did some other mods to it as well, to give it an exemption list and other assorted hacks (like removing the dangerous tcl junk and the "call home" crap). I added a bit of a help file in the partyline, if you type .banchan, it'll give a synopsis of the commands. I also did a hack so that you can save or reload the banlist, in case you have to edit the banfile by hand (like to remove wildcarded bans.)
Keep in mind, the configuration for this script is not at all simple, but it does work once you set it up right. It's about the best bad-channel script I've seen (which just means, someone needs to write a better one

) I've been "planning" to re-write this one for about a year, but just don't have the motivation to dig through all this messy obfuscated code..It'd be easier to simply re-write a new script from scratch.
I put my copy here if you're interested:
http://members.dandy.net/~fbn/mcbanchan.rosc.tcl.txt
My changes are not documented, nor do I offer any support for it. If it's useful to anyone, great, if not, oh well.
Here are the settings I use, for reference:
Code: Select all
channel set #friends +udef-flag-mc.ban_channel
channel set #friends +udef-flag-mc.ban_channel.exempt.ops
channel set #friends -udef-flag-mc.ban_channel.exempt.voices
channel set #friends udef-str-mc.ban_channel.exempt.flags o|o
channel set #friends udef-int-mc.ban_channel.scan_time 1
channel set #friends udef-int-mc.ban_channel.rescan_time 2
channel set #friends udef-int-mc.ban_channel.warnings 1
And some example bans from the banlist:
Code: Select all
global *!!!* {Banned channel matching *!!!* - Must be pure excitement in that channel.}
global *toilet* {Banned channel matching *toilet* - You forgot to flush..}
global *whore* {Banned channel matching *whore* - Here's $2 just to go away.}