• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Detect keypress foward

Joined
Sep 26, 2005
RedCents
30¢
1. is there a way for a macro to detect when you push the arrow key foward and then react to it?

2. whould it better to have it call a sub when it reacts or just have it in the main sub with a loop? which has faster reaction time?
 
Something like this maybe:
Rich (BB code):
Sub Main
   /declare AnchorX              int outer ${Me.X}
   /declare AnchorY              int outer ${Me.Y}

:loop
/doevents
/call moved
/goto :loop

Sub moved
/if (${Math.Distance[${AnchorY},${AnchorX}]}>some#) {
do shit here
}
/return
 
Detect keypress foward

Users who are viewing this thread

Back
Top
Cart