This is a part of my script, when my chi = my max chi, the script makes the AOE key go down... however im having problems making the AOE key be released once my chi is below 1900 :S any ideas?
While $CHI = $ChiMax
AOEA ()
While $CHI < 1900
AOEB ()
Wend
Wend
Func AOEA ()
WinActive("TwelveSky2")
Send ("Q" down)
sleep (1)
EndFunc
Func AOEB ()
WinActive("TwelveSky2")
Send ("Q" up)
Sleep (1)
EndFunc
While $CHI = $ChiMax
AOEA ()
While $CHI < 1900
AOEB ()
Wend
Wend
Func AOEA ()
WinActive("TwelveSky2")
Send ("Q" down)
sleep (1)
EndFunc
Func AOEB ()
WinActive("TwelveSky2")
Send ("Q" up)
Sleep (1)
EndFunc