English antispam - prevents spammers from crashing servers icon

13 comments
09.05.11 01:04:24 am
like 9 like it!
305 b, 263 Downloads
FlooD
GAME BANNED
Offline Off
https://gist.github.com/961785 <<< latest version (click raw)                         ^^^don't download that^^^

this protects servers against people who crash servers by spamming say or sayteam (for example by binding a key to "say lol; say lol; say lol; etc...)
edited 5×, last 13.12.11 04:21:11 am
ok This file has been reviewed and approved by Sparty (12.07.16 01:00:03 pm)

Comments

13 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
14.07.11 05:32:40 pm
Up
loldlold123
User
Offline Off
error,attemp to index global 'blocked'(a nil value)

?
05.07.11 11:01:40 am
like I like it!
Up
Soul King
User
Offline Off
this help my server not be crashed by my friend
10.05.11 06:02:41 am
Up
dizziness
User
Offline Off
Fix it now it still not work
10.05.11 03:23:41 am
Up
FlooD
GAME BANNED
Offline Off
@littlechild: oops i'll fix that lol

funny how no one else noticed that
10.05.11 02:37:50 am
like I like it!
Up
Picias
BANNED
Offline Off
its working
5/5
and its Awesome , Good work
10.05.11 01:08:45 am
Up
dizziness
User
Offline Off
Not work -.- can you fix it? On my cs2d the lua script is not working

if not antispam then antispam = {}

antispam.blocked = {}
function antispam.unblock(id)
     antispam.blocked[tonumber(id)] = nil
end

function antispam.generic(id)
     if blocked[id] then << ERROR
          return 1
     else
          blocked[id] = true
          timer(200, "unblock", tostring(id))
     end
end
addhook("say", "antispam.generic")
addhook("sayteam", "antispam.generic")

end
09.05.11 10:04:27 pm
like I like it!
Up
madBAT
BANNED
Offline Off
Very< Good i love it.

it´s very useful

5/5
09.05.11 09:49:21 pm
like I like it!
Up
gUtZ
User
Offline Off
Simple and short, yet effective. Nice work!
09.05.11 01:09:52 pm
like I like it!
Up
Trasbueno
User
Offline Off
good job man..
i hate who do this things, thx

5/5
09.05.11 08:46:57 am
like I like it!
Up
kalis
User
Offline Off
yea useful
and nice
and i love it
5/5
09.05.11 08:40:40 am
like I like it!
Up
maPmaKer
User
Offline Off
Very nice. Really useful.

So, 5/5
09.05.11 03:06:53 am
like I like it!
Up
KimKat
GAME BANNED
Offline Off
It seems like a very good Lua to prevent massive spam and to avoid getting flooded by joining players of a server that make use of excessive typing in short period of time. Great work, Flood. Very useful script!
09.05.11 01:11:29 am
like I like it!
Up
MostAfa
User
Offline Off
Epic. I helped
Nice job.
To the start Previous 1 Next To the start