26.04.2008, 18:15
First Automatic WordsReplacer
I also released this filterscript on the new unofficial sa:mp forum while this forum was offline. But now its back an so i release this fs also on this forum. (And i added some new functions )What is:
This 363-lines-long filterscript can replace pre-set words in chatmessages (privatemessage are supported too!!).
You can let the filterscript warn players who have used a bad word and they will be kicked if the are warned a given number of times.
It also has a mute-function usable by rcon-admins.
How to instal:
Download this WordReplacer.rar and unpack all files it in your server-folder.
Now you can open Replace.txt (which is located in your 'scriptfiles'-folder)
To add a word on the 'blacklist' do this:
(Note these are EXAMPLES!!)
Quote:
noob=newbie fuck=f*ck |
- The first word is the 'badword' and the word after the '=' is the new word.
- The first word may not contain spaces! And don't put spaces right before and right after the =
So
Quote:
fuck you=f*uck you noob = newbie |
- The second word may contain spaces!
- Try not to add common used and normal words like 'hi' because when somebody says "i'm somewhere high in the sky" he/she will be warned wrongfully.
Extra function:
If you use
Quote:
(*) |
For example
Код:
noob=(*)
Quote:
**** |
- /reloadwords (this will reload the wordlist, so you don't have to restart the FS when you've added a word to Replace.txt
- reloadword (for in console)
- /disableword [word]
- /enableword [word]
- /disableallwords
- /enableallwords
- /wordlist
- /mute [playerid]
- /unmute [playerid]
- /warn [playerid]
Credits:
- tAxI: split-function
- Dracoblue: dini and dutils
- Myself: the rest of this FS
Screen:
Download:
- Mediafire <<New Link
Enjoy