An alternative that'll probably make it a bit faster, as it does a single regex match, is this:
Code:
on $@*:text:/([])/g:#:if $regml(0) >= 40 { ban -ku60 # $nick 2 Attribute abuse: $v1 codes }


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com