So setting it in the command each time would work.  Gotcha.

Another thing to add to my interp_cmd table, but thats cool.  Then righht
before the interpret() I can set it there.

Thanks,
Chris

----- Original Message ----- 
From: "Jason Gauthier" <[EMAIL PROTECTED]>
To: "'Chris "Winston" Litchfield'" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Friday, July 25, 2003 11:12 PM
Subject: RE: Spamming


> set d->repeat = 0 for commands you don't mind them spamming.  (I think in
> the command itself)
>
> Or you could add an additional bool to the interp table, and if TRUE, then
> it resets the spam counter.  (then you don't have to edit all the
functions
> individually)
>
>
> > -----Original Message-----
> > From: Chris "Winston" Litchfield [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 25, 2003 11:03 PM
> > To: [email protected]
> > 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
> >
> >
> >
> > -- 
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>
>



Reply via email to