Files

> > CS2D > Lua Scripts > Improved Badwords v2.0
Files overviewCS2D overviewLua Scripts overview

English Improved Badwords v2.0 >

14 comments2 kb, 553 Downloads

old Improved Badwords v2.0

MikuAuahDark
User Off Offline

Improved badwords script by user MikuAuahDark

∗ Description ∗
This LUA allows you to check if someone type a badwords. A part of RLRP Script that i create for Rajagame
Read all of this file description please. It's different than sample

∗ Features ∗
> *_desc.lua avaliable(to learn the code)
> One-by-one word checking(So it even check "testassok", see screenshots)
> Simulate a normal say output with deleted badwords
> Uses * to censor badwords instead of kicking people
> Case insensitive checking

∗ How to Install ∗
Please read it at download page

∗ Configuration ∗
• BadWordsList - List of badwords, separated by comma.
• BadWordsSmartSymbolTranslate - List of special symbols that translated to characters when checking

∗ Reserved Global Variables ∗
• BadWordsList
• BadWordsSmartSymbolTranslate
• BadWordsCheck

∗ Information
> Hooks: 1(cs2d lua hook say)
> Lines: 66(*_desc.lua 97)
> Size: 1406 Bytes(*_desc.lua 2507)

∗ Limitations ∗
1. Because it uses one-by-one word checking, there is maybe a false detection(For example, you type "Password" it would output "P***word"

∗ Notes ∗
1. Feedbacks? Bugs? Suggestions? On comments
2. It's different from another badwords script(See Features and screenshots)

∗ Rules ∗
√ You can use it for your server
√ You can edit it
√ You can upload at another website, say user MikuAuahDark made it
× You can't say this is yours
× You can't upload on another website without put me on credits

∗ Version History ∗
> v2.0
> >
FIXED
Badword only able to check for one badwords only
> >
CHANGED
Some codes
> >
ADDED
© and New-Line character destroyer
> >
ADDED
Smart symbol translatng. Now it detect a badowrds with symbols(Like: @ss, b!tch, etc.). Idea by user Infinite Rain and user Avo
> v1.0
> >
ADDED
Initial Release

∗ Another MikuAuahDark Scripts ∗
> file cs2d Timer Extra function(timerEx) v4.0
> file cs2d [UNUSED] Get Player Rank v1.4
> file cs2d Env_Laser v1.0
> file cs2d Weapon Hudtxt v1.0
edited 4×, last 03.11.13 01:08:23 am
Approved by Seekay

Download Download

2 kb, 553 Downloads

Comments

14 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Gaios
Reviewer Off Offline

"assistant" -> "***istant"?

old

JamesBondBR
BANNED Off Offline

You need fix the errors. If I write something that contains "part" of a curse, it'll be wrong.
@user StirlizZ-Fapicon: that's right

old

Time
User Off Offline

I believe badwords scripts are ridiculous and useless.

old

mozilla1
User Off Offline

You can get rid of this check by writing "fu.ck" instead of fuck, for example.

But this is a nice idea, Hatsune. Tt can be improved alot.
I like it!

old

Rainoth
Moderator Off Offline

The script could be doubled. Like if it's ONLY 3 letters "ass" it would be counted and if you write "Assassin" it would write properly. Like, usually it would censor but there would be exceptions for certain words.

old

StirlizZ-Fapicon
Super User Off Offline

Imagine I`m calling for guy, named Assassin.

******in.

You failed.

old

MikuAuahDark
User Off Offline

@user Infinite Rain: I only add symbol translator, but you can put a l33t words at BadWordsSmartSymbolTranslate table

@user Avo: Added.

@user EP: Fixed.

old

EP
User Off Offline

test "fuckFUCK"

more disadvantages:
-players are able to use multicolors, hence custom messages
-players are able to use that famous "new-line" character (ALT+219)
edited 1×, last 15.09.13 03:02:46 pm

old

Infinite Rain
Reviewer Off Offline

Cool, but I think that you should add L33T translator, too (so that script will understand 'hidden' badwords such as "@ss" or "b!tch"). Pretty much what Bolt has mentioned.
I like it!

old

Avo
User Off Offline

True badwords filter would detect some "smart" versions of badwords like "wh0re", "@ss", "@SSh0le", "d!ck" and so on.

All in all this one is better than previous ones.

old

Rainoth
Moderator Off Offline

Have the same thing made in my server. Except that it gives warnings and doesn't censor the words. Instead it writes "Please don't swear/flame !" and different amount of warnings result in slap,mute,kill+mute,kick,temp ban.

This looks handy.

old Gelap

ReVoltage
User Off Offline

A very good lua from Master of Darkness
I like it.
I like it!

old

Apache uwu
User Off Offline

Swear filters/censors are clbuttic.

But I love the usage of multi-color, it looks really nice (how it considers **DEAD**).
I like it!

old

VADemon
User Off Offline

1
v=v:lower()
Line 24, do that outside the hook, after table initialization.
More >

Much better than the 'built-in' one, but bad words filters will never be perfect
I like it!
To the start Previous 1 Next To the start