Hm.. Well right now I have
Code:
sub EVENT_COMBAT {
if ($combat_state == 1) {
quest::settimer(test,3); }
if ($combat_state == 0) {
quest::stoptimer("test"); }
}
sub EVENT_TIMER
{
if($timername "eq" test)
{
quest::castspell($userid,92);
}
}
and it still wont work. I tried adding quest::stoptimer("test"); into the sub EVENT_TIMER like u said, and it still didnt work. I figured because I already had 1 in the combat event? the
Code:
if ($combat_state == 0) {
quest::stoptimer("test"); }
I need to stay there so that way it will stop casting if aggro drops right?