The script increases hash values (hinc), but checks variables and not the hash...
You could set it like:

Code:
if (SCRIPT ENABLED) && (OP) && (OTHER REQUIRED CHECKS) {

  var %p = CAPS PERCENT CALCULATION
  if (%p > LIMIT) && (TEXTLEN > MINIMUM LEN) {

    hinc -muTIMEOUT CAPSTABLE <nick or mask>
    var %stage = $hget(CAPSTABLE,<nick or mask>)

    if (%stage = 1) { WARN }
    elseif (%stage = 2) { KICK }
    elseif (%stage > 2) {
      KICKBAN
      hdel CAPSTABLE <nick or mask>
    }
  }
}

Last edited by Horstl; 05/04/10 08:40 PM.