Before I go to bed tonight, I thought this might be a good idea to talk about... There should be a good regexp language filter that filters a player's message and sends the filtered message
to everyone else but the player who typed it. The original message is sent back to the player who sent it, while for the other players, it is filtered and sent. The player who sent the message cannot tell if his language is being filtered, since his messages are reflected back. The other players (depending on if we want the filter to replace with "!@#$" or "dang", "crap", etc.) will receive the filtered message... Bah, I'm tired let me explain that again...
1. Player B sends a message containing one or more words that need to be filtered.
2. The server receives the message.
3. The server sends the message back to Player B to display on his/her HUD.
4. The server filters the message.
5. The server then sends the filtered message to the other players to display on their HUD.
Therefore, Player B does not know if his/her messages were ever filtered. So, he/she won't try to get around a filter he/she doesn't know about... right?
The reason I bring this up is because when I was playing hl1dm a while ago, I happened to be on some n00b server with a (horrible) language filter. It replaced "noob" with "a good player" and among other things. Every time I wanted to type noob, I had to put spaces in between the characters just to get my message across. That was one retarded n o o b server. Anywho, the moral of the story is, if the player doesn't see the filter, she doesn't know how to get around it.