Files

> > CS2D > Lua Scripts > antispam - prevents spammers from crashing servers
Files overviewCS2D overviewLua Scripts overview

English antispam - prevents spammers from crashing servers >

13 comments305 b, 620 Downloads

Comments

13 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

loldlold123
User Off Offline

error,attemp to index global 'blocked'(a nil value)

?

old

Soul King
User Off Offline

this help my server not be crashed by my friend
I like it!

old

dizziness
User Off Offline

Fix it now it still not work

old

FlooD
GAME BANNED Off Offline

@littlechild: oops i'll fix that lol

funny how no one else noticed that

old

Picias
BANNED Off Offline

its working
5/5
and its Awesome , Good work
I like it!

old

dizziness
User Off Offline

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

old

madBAT
BANNED Off Offline

Very< Good i love it.

it´s very useful

5/5
I like it!

old

gUtZ
User Off Offline

Simple and short, yet effective. Nice work!
I like it!

old xD

Trasbueno
User Off Offline

good job man..
i hate who do this things, thx

5/5
I like it!

old

kalis
User Off Offline

yea useful
and nice
and i love it
5/5
I like it!

old

maPmaKer
User Off Offline

Very nice. Really useful.

So, 5/5
I like it!

old

KimKat
GAME BANNED Off Offline

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!
I like it!

old

MostAfa
User Off Offline

Epic. I helped
Nice job.
I like it!
To the start Previous 1 Next To the start