Code:
ON *:TEXT:!command:*:{
  if (%4ignore $+ $nick == $null) {
    /set %4ignore $+ $nick 1
  }
  elseif (%4ignore $+ $nick !== $null) {
    if (%4ignore $+ $nick > 10) {
      /msg $nick Maxed out. You have gone over the allotted msgs
      /msg $nick Ignoring your messages for 5 minutes.
      /ignore -pcntikdu10 $nick $+ !*@*
      /unset %4ignore $+ $nick
      /echo MAX for $nick 
    }
    elseif (%4ignore $+ $nick < 10) {
      /inc -u30 %4ignore $+ $nick 1     
    }
  }
}


It is supposed to ignore a user if they send a !command too many times, but for some reason, the variable gets up past the limit, but it doesn't do anything.. =/