Skill timer

11/12/2021 19:59 grindcore88#1
Hello everyone
I would like to write a script which a skill, that is loaded after 8 seconds activates after 10 seconds. is there any timer function for it? for example activate skill 8 every 10 seconds
Thanks :)
11/13/2021 13:21 Yoshikawa91#2
Quote:
Originally Posted by grindcore88 View Post
Hello everyone
I would like to write a script which a skill, that is loaded after 8 seconds activates after 10 seconds. is there any timer function for it? for example activate skill 8 every 10 seconds
Thanks :)
Something like that should work
Code:
Local $lTimer = 0
While 1 ;Your main loop

   If $lTimer == 0 Or TimerDiff($lTimer) >= 10000 Then
        UseSkillEx(8)
        $lTimer = TimerInit();
   EndIf

WEnd
11/13/2021 17:22 Waka.Waka#3
u can use

Mainloop()
AdlibRegister("function", 10000)
AdlibUnRegister("function")

it will basically disrupt your main script every 10 seconds and jumps into your function ''function''. You can make any checkmark there. Read how it works here:
[Only registered and activated users can see links. Click Here To Register...]