BAD WORD FILTER
BAD WORD FILTER
Please could somebody tell me what i need to put in the file along with the bad words. Also, what is used to seperate the words?
Re: BAD WORD FILTER
Be sure to put "brad" in therebrad2901 wrote:Please could somebody tell me what i need to put in the file along with the bad words. Also, what is used to seperate the words?
-toaster
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
there is a sample badword file in the source distro
check the misc dir.
depending on how you got bzflag, you may or may not have a misc dir. if you do not then get a sourcecode distrobution from sourceforge. and it will have it.
check the misc dir.
depending on how you got bzflag, you may or may not have a misc dir. if you do not then get a sourcecode distrobution from sourceforge. and it will have it.
Last edited by JeffM on Wed Oct 06, 2004 11:01 pm, edited 1 time in total.
JeffM
- ducatiwannabe
- Private First Class
- Posts: 3258
- Joined: Tue Aug 10, 2004 3:55 pm
- Location: Planet Earth
- Contact:
ok, your saying what words to write out, but is there something I type before in conf?
-badwordfile "BADWORD"
or such?
I wrote a txt out with all the bad words I could think of at the time, in any way to type, to try to fix this, but I'm not sure how to activate it :/ I know how to type it out, just how to set it up in conf?
-badwordfile "BADWORD"
or such?
I wrote a txt out with all the bad words I could think of at the time, in any way to type, to try to fix this, but I'm not sure how to activate it :/ I know how to type it out, just how to set it up in conf?
badwords file format
The sample multilingual swear lists in the bzflag source distribution's misc/ directory include details on the format of the swear file:
Strings will automatically match repetitive identical letter expansions.
Strings will automatically match l33t-speak.
Strings will automatically match common English word suffixes (e.g. dom|ity|memt|sion|tion|ness .. etc).
Strings will automatically match common prefixes.
Basically that all means that a whole lot of work is being done automatically for you. Just be careful what you put in to your file as it may match things you don't initially expect. As the multilingualSwearList.txt hopefully makes evident, you can also add comments to your file by putting a "#" before your comment on every line of the comment. Have @&*$ing fun with it.
Cheers!
Code: Select all
# They are sorted in alphabetical order with one word/phrase per line. Words
# are case insensitive; punctuation and white-space are irrelevant (it's okay
# if punctuation is listed below, but it will be required during matching).
Strings will automatically match l33t-speak.
Strings will automatically match common English word suffixes (e.g. dom|ity|memt|sion|tion|ness .. etc).
Strings will automatically match common prefixes.
Code: Select all
# Since all of the above matchings are done for free, they should NOT be
# explicitly listed below. Only root words are necessary. For foreign
# languages, it may be necessary to list all tenses of certain verbs, unless
# the rules can be strictly and simply quantified.
#
# There are certain foreign words which are simply too common or likely to
# include, and they are commented out below (e.g. "um" in Turkish).
Cheers!
Last edited by learner on Mon Oct 04, 2004 8:08 pm, edited 1 time in total.