You might want an else in there since if the hpevent is 95 then both ifs are true.
I'd check them in reverse order for what I assume you want. I'm not a perl coder, so take this as pseudo code.
if($hpevent <= 95)
...
else if($hpevent <= 98)
...
Last edited by lerxst2112; 12-17-2010 at 07:22 PM..
Reason: Turned smilies off
|