Help with a basic script Topic is solved

Ask gaming related questions (AHK v1.1 and older)
TheBetaEchidna
Posts: 2
Joined: 06 Feb 2020, 22:14

Help with a basic script

06 Feb 2020, 22:26

I am very, very new to Autohotkey, and I dont really have a clue what I'm doing. I'm trying to make a basic script that presses 3 buttons in a sequence, and loops until I press a key to shut it off. I'm trying to make it easily adjustable so I can get the timing just right between each press, and I've only confused myself. The idea is I'm trying to get it to toggle using a button like "\" and then press "Q-Q-E" and then just endlessly loop until i shut it off.

This is what i have so far, and you can clearly tell I dont really know what I'm doing.



\::
sleep 250
Send Q
sleep 250
Send Q
Sleep 250
Send E
sleep 250
return
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Help with a basic script  Topic is solved

07 Feb 2020, 01:51

Code: Select all

\::
    Toggle := false
    Loop
    {
        Send Q
        sleep 250
        Send Q
        Sleep 250
        Send E
        sleep 250
    }until !Toggle
return

\ Up::Toggle := !toggle
TheBetaEchidna
Posts: 2
Joined: 06 Feb 2020, 22:14

Re: Help with a basic script

07 Feb 2020, 15:03

Thank you for the help, Xtra. It's perfect.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Bing [Bot] and 112 guests