daemitus / SomethingNeedDoing

88 stars 64 forks source link

Wait commands persist outside of their scope #37

Open jyudt opened 2 years ago

jyudt commented 2 years ago

If you have a wait command (with either , /wait, or /waitaddon) and stop the macro or call another one on top of it, the wait command is still running. i.e., running /wait 500 then calling /send KEY_9, the key press will have to wait for the wait 500 to finish. Similar results if you stop then call the next one. Not sure if this is intended behavior.

daemitus commented 2 years ago

I looked into it a little bit, and its difficult to get right. Lets call this intended behavior until I get the motivation to dig into it.