Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Robust Anti-Swear script

by bastard (Hermit)
on Jul 31, 2001 at 23:02 UTC ( [id://101278]=note: print w/replies, xml ) Need Help??


in reply to Robust Anti-Swear script

I'm not sure how usefull the following would be in an irc context, but it would make for a more reliable filter.

Required all words to be spelled properly. Then simply filter the words you want.

Replies are listed 'Best First'.
Re: Re: Robust Anti-Swear script
by Azhrarn (Friar) on Jul 31, 2001 at 23:52 UTC
    Heh, why didn't I think of that? :p Actually, even the words it does filter, will still be seen by the channel. It will just be a trigger for the bot to take action. There is no way to pass the text through the bot before it reaches the channel (unless you are using a botnet, but that is a different story).

    Basically the bot will see someone say something it doesn't like and kick them off the channel as a warning. Although you can set a flag so it bans them instead. Or, as I said before, make it do just about anything.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://101278]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found