OldScotch- wrote: Hiya, good mod man, much thanks.
I've got a small problem though.
Typically, when you censor words they're listed as *badword* *fubar* and what not. This avoids people leading into the words with things like "realbadword" and "bigfubar" which will get by the censor.
The problem is, with this mod, whatever word comes before the badword will be censored out. This makes for some really strange looking sentences sometimes. Now, you can take the asterisks out to avoid that, but then you're back where you started with the 'realbadword's getting by the censor.
OldScotch- wrote: I don't think you understood me there.
When I make a list of words I'd like censored, I will put a wildcard on either side of it. So if want to censor "darn", I'll list it in the filter list as "*darn*". The replacement, as you stated, doesn't matter.
The reason those wildcards are there is so that you can't get around the filter by saying "goshdarn". If the wildcards are there, the filter works, if they aren't, then goshdarn gets posted. That holds true for both your mod and the standard version.
Now the problem is, that when I use those wildcards with your mod, then it censors too much. "darn" gets censored and "goshdarn" gets censored. But whatever word comes before "darn" also gets erased. Obviously, that makes things very difficult to understand when words are missing.
Code: Select all