ok this is what I'm trying to do.
I know about how to make a word filter
if you do a list but, I don't want to have to update list every-time if I wan't add a new word.
is their a way to make it so I can add words to a ini or txt file and it reads from their and if its in the txt file it filters it.
if so how do I go about this.
EDIT: I found a web ban in dev, by Ss4toby
I was wondering I I can use this and change it a little for world filtering or not.
ID:1540027
Apr 8 2014, 3:19 pm (Edited on Apr 8 2014, 4:37 pm)
|
|
reason I don't want a list and a html file is cause I'm not going to be on the game all the time to add more words like your addword verb does, and I don't want recompile every-time I think of a new word
and this way I can grab a giant list of profanity words etc and tada that's my block list. I'm not wanting it to change the words, I just want it to detect to see if word is in the message and if it is it wont send the message at all. |
Honestly, there isn't a very effective way to censor a chat system without running a risk of CPU being used too much.
I don't entirely understand why you wouldn't want to use a list? The only reason I could think of, was using a list would be problematic when desiring to make alterations to the stored information. However, using params2list() alleviates that problem.
As stated above, I'm not too sure there is a more efficient way to create a censoring system. If there is, I hope another BYONDer suggests it, because I am obviously coming up short.