Unnamed
public text v1 · immutableALIAS BotIgnore {
IF ($($+(%,ignore.,$Address($1,3)),2) >= 5) {
.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)) {
INC $+(%,ignore.,$Address($1,3))
}
ELSE {
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!
}