on *:TEXT:!quote:#: { msg $chan There are currently 31 numbered quotes! And there are 18 secret ones too!! 49 in total!
if ((%floodschutz) || ($($+(%,floodschutz.,$nick),2))) { return }
set -z %floodschutz. $+ $nick 15 }
Let's tweak this up some...
ON *:TEXT:*:#:{
var %antiflood = $+(%,.,$cid,.antiflood), %command = $+(command.,$1)
if ( [ [ %antiflood ] ] && !$istok($me (someOtherNickOfYourChoice),32) ) { return }
if ( !$istok($command.channels($nick),$chan,32) || *.twitch.tv !iswm $server ) { return }
if ( !* !iswm $1 || !$isalias(%command) ) { return }
SET -eu15 [ [ %antiflood ] ] $true
%command $2-
}
alias command.channels {
if ( $me == botNameOne ) { return #channel1 #channel2 #channel3 }
}
alias command.!quote msg $chan There are currently 31 numbered quotes! And there are 18 secret ones too!! 49 in total!
This will allow you to have multiple connections, limit which channels it will respond to per connection (based on the nick), let you bypass the flood control (if you want), and only have to check the flood control once instead of doing it in multiple ON TEXT functions. The antiflood will last for 15 seconds after the last command execution and also the timer gets reset if mirc should be closed for any reason as an extra precaution.
Could make it even fancier by having certain exceptions per channel and per bot, but I'm sure this will suit your needs as it is.