SA-MP Forums Archive
[FilterScript] [FS]First Automatic WordsReplacer Version 2.1 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]First Automatic WordsReplacer Version 2.1 (/showthread.php?tid=35355)



[FS]First Automatic WordsReplacer Version 2.1 - Sandra18[NL] - 26.04.2008

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

Rules:
- 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

are both wrong

- 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:

(*)

as new word, the filterscript will replace the old word with 'stars'
For example
Код:
noob=(*)
will become:
Quote:

****

Ingame commands:
- /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


Re: [FS]First Automatic WordsReplacer Version 2 - MPKaboose - 26.04.2008

WOW nice job again i will use this
whant a mirror?


Re: [FS]First Automatic WordsReplacer Version 2 - Joyrider89 - 26.04.2008

Good stuff man!


Re: [FS]First Automatic WordsReplacer Version 2 - mysq - 26.04.2008

Very Good !!!


Re: [FS]First Automatic WordsReplacer Version 2 - Marko_Beducci - 26.04.2008

Nice , an nice idea and an nice script keep it up


Re: [FS]First Automatic WordsReplacer Version 2 - Rks25 - 26.04.2008

Nice, but i prefer Boylett's more.


Re: [FS]First Automatic WordsReplacer Version 2 - Sandra18[NL] - 26.04.2008

Quote:
Originally Posted by Rksss
Nice, but i prefer Boylett's more.
Thanks, but with "i prefer Boylett's more" i can't do much...
So can you give some arguments WHY you prefer Boylett's more?

Btw, you can't realy compare mine and boylett's....
Boylett's fs only replace some words with stars (***)
Mine can do that too, but mine has lot more functions :P

- My FS can replace words with *'s (so does Boylett's)
- My FS can replace words with other words (whatever you like) (with Boylett's you can't)
- My FS don't need restart when you added a new word. (You have to with boyletts...)
- My FS has a little warning system (Boylett's does not)
- My FS has a mute-function (Boylett's does not)

Quote:
Originally Posted by Rikker
WOW nice job again i will use this
whant a mirror?
Thanks, sure



Re: [FS]First Automatic WordsReplacer Version 2 - blewert - 27.04.2008

Yet another good script, nice work.

Actually, this does look quite fun
you could put:
hi = F*CK YOU! :P


Re: [FS]First Automatic WordsReplacer Version 2 - Zh3r0 - 27.04.2008

O my gosh! Another good work from Sandra


Re: [FS]First Automatic WordsReplacer Version 2 - kavkazian - 27.04.2008

i use this script in the mode...in RP mode..
when someone write the one of the words the chat of the server brokes...
alll players have one chat like in DM mod...
and this isnot work in /o or /b....this is make me SAD