[FilterScript] Spam Prevention System (Anti Spam)
#1

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.
Reply
#2

real simple, good job too

EDIT: Btw good luck on 10 more post
Reply
#3

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?
Reply
#4

Luka P.
High-roller

Join Date: Feb 2009
Posts: 1,329

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

Reply
#5

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

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
Reply
#7

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

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

Good but is much better use GetTickCount().

Good joob.
Reply
#10

Good job looks like a keeper
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)