Trigger Settings
Here's the default lang.yml file. (Excuse the language!).
profanity:
- shit
- fuck
- piss
- cunt
profanityWordMatch:
- ass
- poo
- boob
- boobs
- crap
profanityMessage: "Oi %N! Mind your language!"
triggers:
- eleven
- '11'
triggerPhrase: "That's ridiculous, it's not even funny."
All words in the lists above should be lowercase a-z. Letters with accents are changed to their un-accented equivalents before checking.
So for example 'fuck' in the above list will happily detect attempts to camouflage as 'fúck' or 'Fűćķ'
Words in the profanity: list will be detected as parts of words. So fuck will match fucker, fucking or dumbfuck.
Words in the profanityWordMatch: list will only match complete words. So ass will not detect assume, and poo will not match spoon.
So... what are the "triggers" and "trigger phrase" used for?
That was a gimic that turned out to be useful. If any of the trigger words are in a message triggerPhrase is broadcast.
It was a joke at first - (http://kol.coldfront.net/thekolwiki/index.php/Eleven) but turned out by using triggers like "lag" you can give a message telling people to do /lag command to check server lag - etc etc.