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
you might be stuck in a loop. once in a loop you can't get out until while *whatever here* is false.
Your ("Q" down) is wrong. SHould be ("{q down}")
You should make ur aoe button 1 function running under a loop.
global $chimax = 2500
while 1
send("{q down}")
sleep(200)
send("{q up}")
If $chimax < 1900 then
exitloop
wend
not sure if 1900 needs to be written as "1900" I usually test and check. i forget about quotes alot. LOL.
obviously you're going to have to get the "current MP" address instead of max MP. probably need 2 variables also.
by making write out that script gave me a wild idea for a bot. LOL. i feel so drained reading all this C++ coding. don't think i can learn C++ as fast as i did autoit. and i've only mastered like 40% of autoit. -.- and that might even be an exaggeration.
It means like throughout your entire script. so if for example you have a second function and you don't specify the $maxchi variable, it will use the global value.
Where can i learn to code this way? D oyou know any sites that have iformation of scripting like this? I want to make a bot that will Buff, pick up loot, and AoE. or just have someone give me one ^^. anyways, where can i learn this?