<= is less than or equal to. if you want it just below a value, use < alone.
it is possible that the $faction value is not directly exposed in EVENT_TIMER. if that is the case, it's probably always evaluating to 0 (undef). you can verify this by having the value printed out from within the event.
|