Log in

View Full Version : Autohotkey Loop function legality for movement keys



skykid13
01-15-2018, 10:59 PM
Greetings,
As the title says in regards to wow, how is the loop function viewed when use solely for movement keys I.E w,a,s,d, and space.
so something like
~Space::
IfWinActive, World of Warcraft
{
ControlSend,, {Space down}, ahk_id %wowid1%
ControlSend,, {Space down}, ahk_id %wowid2%
loop
{
getkeystate, state, Space
if state = U
break
}
ControlSend,, {Space up}, ahk_id %wowid1%
ControlSend,, {Space up}, ahk_id %wowid2%
Return
}
My thought is that keys do this by default in and out of game, so as long as I'm not using the loop function to say spam 1 over and over
there shouldn't be a problem with blizzards 1 button 1 action rule.
I wanted to get some feed back on it from the boxers on this forum, as I haven't boxed in years and the last time I did I used pwn boxer
so programing my own scrips wasn't even a thought.

MiRai
01-15-2018, 11:34 PM
If the loop function of AHK is required to mimic movement as if you were holding down a key, then I would imagine it'd be just fine, since, like you say, you aren't using it to loop in-game character actions.