• Smart Chat Filter
    6 replies, posted
[url=http://www.garrysmod.org/downloads/?a=view&id=111655][img]http://www.garrysmod.org/img/?t=dll&id=111655[/img][/url] This will filter naughty words in your server and allow people to play without being sworn at. To add/change/remove a word, simply edit its position in "FilterTable" The key (String inside the brackets) will decide what word you want to filter, and they value (String after the equals sign) will dedicate what to filter it to. Because this is V1, it will ignore all double letters. If you wanted to filter "cheese", you would have to filter "chese" instead. I know this will be a problem with the word "boob" and "bob", or also the N word and the country Niger, but I am going to make a way to get around this in V2. It's pretty simple, but pretty useful too. People can't just write "f.1.l.t.e.r.e.d wwwooo orrrddd" to get around the filter.
I like the idea but I think filtering bad words is stupid, you should have like an gmod spellcheck or words that are stupid = kick/ban
Oh yeah, I could also make a table for words that will autokick/ban you. I'll add that later.
I didn't download, but I suggest adding some type of derma with a DList View showing words filtered one the left side, then the word they are filtered to in the right.
That is incredibly unnecessary. I was going to make a little config text file to mess with the filtered words, but why would I code a derma for a script as small as this?
Just a suggestion ^^ it may make it more fit for use on servers.
Sorry, you need to Log In to post a reply to this thread.