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
real simple, good job too
EDIT: Btw good luck on 10 more post ![Cheesy](images/smilies/biggrin.png)
|
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
Luka P.
High-roller
Join Date: Feb 2009
Posts: 1,329
1,329
8+
______
1,337 <--====-- EpiC
![Cheesy](images/smilies/biggrin.png)
|
Quote:
Originally Posted by lolumadd
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
![Cheesy](images/smilies/biggrin.png)
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