on *:text:*:#: {
if (!%spam) {
echo -a rest of your code here
;set is the last line.
set -u10 %spam .
}
this will set a variable that will last for 10 seconds, if the %spam variable exist the script will halt. change the 10 in the set -u10 %spam line to what you want, set -u2 %spam will unset the variable after 2 seconds. no one can flood your bot offline, and you can play with user levels, then give a user a level, and that level can't trigger the bot, many ways to solve this one
