View Single Post
  #2  
Old 09-15-2010, 11:21 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Reynin89 View Post
I tried changing the integer like u said so now its but its still just casting on me when I go near him.
Code:
sub EVENT_COMBAT {
  if ($combat_state == 1) {
    quest::settimer("test",3);
  }
  if ($combat_state == 0) {
    quest::stoptimer("test");
  }
}

sub EVENT_TIMER {
  if($timer eq "test") {
    quest::castspell($userid,92);
    quest::stoptimer("test");
  }
}
Reply With Quote