quote:
Originally posted by LifelesS
That would be nice, but it could be done easier with a var with a limit:
The contact sent a message, it's saved inside a var and adds a timer, if he sends the same message more 3 times or so before the timer triggers, blocks for 'x' time. Something like that
That's not easier, that's more complicated than what riahc4 suggested
Also, it wouldn't detect spammers who change the message from time to time. To make a flood checker which detects real flooding, you must do what riahc4 suggested (which would actually needs less code than with your suggestion
)
PS: post the (new) script on the forums first, so people can take a look at it and test it out before submitting it to the database...