the normal anti flood I guess would be to set a var to expire in 30 seconds and just check that before the script replys, if the var exists - do nothing - else reply blah
reading your post over I came up with this, mutiple requests will get dumped and only the last one will get a reply and only after a 30 second delay has expired from the last reply from the script
<Bob> Hi Mike
<Mike> Hi Bob.
<bob> Got coffee yet?
<bob> did you sleep good?
(30 seconds from "hi mike")
<mike> yes slept good
note the coffe question got skipped, and there is a reply for it
on *:text:*:#:{
if (hi* iswm $1-) { var %reply = Hi $nick $+ . }
if (*how are you* iswm $1-) { var %reply = peachy, and you $nick $+ ? }
if (*sleep good* iswm $1-) { var %reply = rocks should be as rested as I am }
if (*got coffee* iswm $1-) { var %reply = hey! who drank all my coffee?!? -looks- at $nick }
if (!%stop.flooders) {
msg # %reply
set -u30 %stop.flooders sponge
}
else { .TIMER.delay 1 31 msg # %reply }
}