I am a beginner and I've watched a couple of forum posts to get started somewhere.
What I'm trying to do is:
1 key to toggle the entire script, let's say "1".
When active, the script should always keep the "G" key down.
While keeping the "G" key down it should rotate (with a minor interval) between sending "RMB" and "H" indefinitely.
What does this require? I've seen KeyDown, SendInput, Toggle, If Else Statements etc.
I have found this for example:
Code: Select all
1::
KeyDown := !KeyDown
If KeyDown
SendInput {g down}
Else
SendInput {g up}
Return
But I can't just add send, sleep, send, sleep for the two things it has to rotate between.
Any help is appreciated.
Thank you in advance