[FilterScript] [FS] Simple Anti-Spam. - 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] Simple Anti-Spam. (
/showthread.php?tid=191915)
[FS] Simple Anti-Spam. -
ChristopherM - 20.11.2010
Simple Anti-Spam
What is it?
Simple Anti-Spam is a little filterscript that I created because I seen some people asking for one. It's very basic and designed for those whom just want a very basic and handy Anti-Spam.
How it operates?
The simple Anti-Spam is pre-set to kick the client if they submit three messages within the space of three seconds but is totally customizable. Simply edit the defined time in the filterscript near the top to a pre-set time in milliseconds to that you want to limit the total time they can enter three messages in.
Credits
I'm not really one to fuss about you putting credits in the script but I would appreciate a comment perhaps saying where you obtained it thanks
Updates
- Script now alerts you one message before being kicked. (Thanks to gamer931215 for the suggestion)
- Command Anti-Spam now added. (Thanks to RealCop228 for the suggestion)
The script?
Pastebin
Pre-compiled File
Re: [FS] Simple Anti-Spam. -
Lorenc_ - 20.11.2010
Nice script. Might be usful.
Re: [FS] Simple Anti-Spam. -
WillyP - 20.11.2010
Nice Chris.
Re: [FS] Simple Anti-Spam. -
HfV.pT - 20.11.2010
Good Job !
Re: [FS] Simple Anti-Spam. -
gamer931215 - 20.11.2010
Its pretty good, but i would recommend adding atleast a warning before kick, or just mute
Also you can use:
#define SpamLimit 3000
Instead of
#define SpamLimit (3000)
But both work however, good job anyways
Re: [FS] Simple Anti-Spam. -
Scenario - 20.11.2010
Quite simple, yet very effective! I'd like to see one for commands, as well.
Re: [FS] Simple Anti-Spam. -
ChristopherM - 20.11.2010
Quote:
Originally Posted by RealCop228
Quite simple, yet very effective! I'd like to see one for commands, as well. ![Smiley](images/smilies/smile.png)
|
Thanks for the suggestion. It has now been added.
Re: [FS] Simple Anti-Spam. -
Scenario - 20.11.2010
Quote:
Originally Posted by ChristopherM
Thanks for the suggestion. It has now been added.
|
Hey, looking good! Thanks for the credits.
Re: [FS] Simple Anti-Spam. -
Jani - 24.01.2011
GJ. Works perfect. Simple and fast. thanks.