on *:TEXT:!command:*:{
if $eval($+(%,4ignore,$nick),2) > 10 {
msg $nick Maxed out. You have gone over the allotted msgs
msg $nick Ignoring your messages for 5 minutes.
.ignore -u10 $nick
unset $+(%,4ignore,$nick)
echo MAX for $nick
return
}
; Check to see if the -u switch should be used or not.
if $eval($+(%,4ignore,$nick),2) { inc $+(%,4ignore,$nick) }
else inc -u30 $+(%,4ignore,$nick)
;
; Here you would put your commands for this event.
;
}