AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   if player name contains "sh*t" raname it (https://forums.alliedmods.net/showthread.php?t=65379)

EmJay 01-07-2008 07:03

if player name contains "sh*t" raname it
 
Hi you.
Can you show me this:

If player connect in server with nickname: Shi*tFact (badnames are listed into a masive), in the same time, the plugin will rename it to random choosen name from a masive.

-->

new badnames[] = {
'sh*t', 'g*y', 'bi*ch'
}

new namereplacer[] = {
'badname', 'replacedname', 'censored'
}

I'm sorry for my bad english. I'm from Russia.

Tnx,
Regards

PS: I am added * for censoring because of Forum rules.

ConnorMcLeod 01-07-2008 07:29

Re: if player name contains "sh*t" raname it
 
Use a swear filter plugin.

EmJay 01-07-2008 07:44

Re: if player name contains "sh*t" raname it
 
Nah.. I just want one simple plugin without any special stuff.
Can you make it ? Or edit this swear plugin: http://forums.alliedmods.net/showthread.php?p=89648

ConnorMcLeod 01-07-2008 07:55

Re: if player name contains "sh*t" raname it
 
http://forums.alliedmods.net/showthread.php?p=147257

taheri6 01-07-2008 13:47

Re: if player name contains "sh*t" raname it
 
Ive used a couple of those swear filters before, but when some typed in wh@re in say or team say it crashed the server :p

So I stopped using them.


All times are GMT -4. The time now is 11:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.