on *:LOAD:{
/set %Bannword Kappa FrankerZ DansGame
}

On @*:TEXT:*:#hearthstoneness: {
if ($nick !isop #) {
set %Badword. [ $+ [ $nick ] ] 0
var %i = 0
while (%i < $numtok(%Bannword,32)) {
inc %i
var %current.word = $gettok(%Bannword,%i,32)
if ($regex($1-,/ $+ %current.word $+ /g) > 0 ) {
%Badword. [ $+ [ $nick ] ] = %Badword. [ $+ [ $nick ] ] + $regex($1-,/ $+ %current.word $+ /g)
if ( %Badword. [ $+ [ $nick ] ] >= 5 ) {
msg #hearthstoneness Stop spamming emotes, $nick $+ !
msg # .timeout $nick 10
unset %Badword. [ $+ [ $nick ] ]
return
}
}


My doubt is using irc to twitch
Hello, this command is for the flood of 5 emotes on the same line, I would like to know how do I change to protect for 5 emmotes in 5 lines of emotes, thinking of avoiding piramede.