b_antispamLines x [max lines]
b_antispamTime y [the time between sending commands (lines) to server]
And u can also include in this system the bad words filter which will be reading the bad words from the file in the etpro dir like in the etadmin mod.
cvar: b_badwordsfile file.txt
Code: Select all
# Bad word file.
#
#
# string or word per line
# comments start with # (as usual)
#
# if you want to match a string, at the beginning of a word, then make a space in front.
# if you want to match a string at the end of a word, then make a space at the end.
# If you want to match a complete word, make a space in front and behind.
# If you want to use regular expressions, make a regexp: in front of your string.
#
# Small regular expression help:
# ? = means the char before is optional (0 or 1 repeats) (Example: na?p = nap or np, not naap)
# * = means 0 or more repeats. (Example: na*p = naaaaaap or np)
# + = one or more of the char, behind which the '+' stands (Example: na+p = nap, naaaaap, naaaaaaaap)
# [] = 'or' for chars, not strings - n[a4]p finds 'n4p' and 'nap'
# \s = space or tab
# . = any char (example: n.p = nap, nbp, n4p, ...)
# matches: F U C K, F UUUCKK, fuck, FUUUUCK, FUCCKKKKER, mothafucker and anything like that.
regexp:f+\s*u+\s*c+\s*k+
regexp:k+\s*u+\s*r+\s*w+
# matches: noob, boon, obernoobs, noooobs, b00bs or boobs, etc.
# this one only find stuff with space or s at the end:
#regexp:[nb][o0]{2,}[bn][s\s]
# this one is more generell:
# standard badwords
What u think?
p.s the idea of the muted icon near to the nick in the score menu like in jaymod is nice, also perm mute (u cant vote for unmute) too
Regards