SA-MP Forums Archive
[FilterScript] Spam Prevention System (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] Spam Prevention System (Anti Spam) (/showthread.php?tid=169530)



Spam Prevention System (Anti Spam) - Luka P. - 19.08.2010

What is this?
This is a anti spam filterscript - simply, this prevents your server (chat) from being spammed by players. You can define for how many minutes you would like to mute the player (2 minutes by the default, though). When the player sends 4 or more messages in a 1.5 sec he gets warned. 2 warnings results in a mute.

How to install?
Well, the "installation" procedure is very very simple. Download the script and just copy the antispam.amx (or compile the antispam.pwn) into your filterscripts folder and put "antispam" into your "filterscripts" line in server.cfg. Restart the server and thats it!

Where to download?
You can download it at Solidfiles, or if you want you can see the source on the Pastebin, but it is kinda unreadable.


Re: Spam Prevention System (Anti Spam) - willsuckformoney - 19.08.2010

real simple, good job too

EDIT: Btw good luck on 10 more post


Re: Spam Prevention System (Anti Spam) - Luka P. - 19.08.2010

Quote:
Originally Posted by willsuckformoney
View Post
real simple, good job too

EDIT: Btw good luck on 10 more post
Thanks.. and that edit, wtf?


Re: Spam Prevention System (Anti Spam) - willsuckformoney - 20.08.2010

Luka P.
High-roller

Join Date: Feb 2009
Posts: 1,329

1,329
8+
______
1,337 <--====-- EpiC




Re: Spam Prevention System (Anti Spam) - lolumadd - 20.08.2010

It looks really nice but could of been done using GetTickCount() function instead of SetTimer to reduce lag.


Re: Spam Prevention System (Anti Spam) - Luka P. - 20.08.2010

Quote:
Originally Posted by willsuckformoney
View Post
Luka P.
High-roller

Join Date: Feb 2009
Posts: 1,329

1,329
8+
______
1,337 <--====-- EpiC

Quote:
Originally Posted by lolumadd
View Post
It looks really nice but could of been done using GetTickCount() function instead of SetTimer to reduce lag.
willsuckformoney - oh that lol
lolumadd - that wouldn't reduce the lag, as this is not making any lag


Re: Spam Prevention System (Anti Spam) - Tekto - 04.11.2010

Hmm, It doesnt work for me I Spam , and spam, but nothing happens.


Re: Spam Prevention System (Anti Spam) - RyDeR` - 04.11.2010

Nice but like lolumadd said, it would be better and faster using GetTickCount().


Respuesta: Spam Prevention System (Anti Spam) - xenowort - 04.11.2010

Good but is much better use GetTickCount().

Good joob.


Re: Spam Prevention System (Anti Spam) - Captain_jeffree95 - 14.09.2011

Good job looks like a keeper