rendered paste bodyALIAS BotIgnore {
echo -a * inside botignore
IF ($($+(%,ignore.,$Address($1,3)),2) >= 5) {
echo -a * Ignoring $1
.notice $1 [4Command Flood]: 5 Commands used in 10 seconds. I'm ignoring you for 5 minutes.
Ignore -u300 $1 3
}
ELSEIF ($($+(%,ignore.,$Address($1,3)),2)) {
echo -a * Increasing
INC $+(%,ignore.,$Address($1,3))
}
ELSE {
echo -a * setting var
SET $+(%,ignore.,$Address($1,3)) 1
$+(.Timer,$Address($1,3)) 1 10 UNSET $+(%,ignore.,$Address($1,3))
}
RETURN $null
}
on *:text:!test:#:{
BotIgnore $nick
msg $chan Testing!
}