Umm... I have an integer in my cmd_table that I set flags on.
The flags control things like whether or not you can spam out with that
command, whether or not a charmed person can be ordered to use it, npc only
commands, pc only commands, pk only commands, blah blah...

----- Original Message ----- 
From: "Chris "Winston" Litchfield" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 25, 2003 10:02 PM
Subject: Spamming


> ROM has spam checking in that it checks for a string repeated X amount of
> time.  This is fine as it can catch some people spamming the mud.
However,
> this does not work for things like "note, note, note ,note" or
"n,n,n,n,n,n"
> spamming.
>
> So in order for me to prevent that I have long since added (&&
> !strcmp(...,"note"); statements here.
>
> Does anyone have a better system to avoid performance issues?
>
> Chris


Reply via email to