can anyone help make me a code im new

Ask gaming related questions
imbadatbridge
Posts: 1
Joined: 06 Apr 2024, 12:36

can anyone help make me a code im new

06 Apr 2024, 12:39

i want to make a wasd macro code so i can just turn in circles in a game like i can either hold down on a keybind and just turn in circles without having to do it myself


[Mod action: Moved topic to the “Gaming” section.]
Banaanae
Posts: 16
Joined: 19 Feb 2024, 04:08
Contact:

Re: can anyone help make me a code im new

21 Apr 2024, 01:51

Try this, use F1 to start/stop
If its too fast or slow edit the delay variable

Code: Select all

delay := 50
SetKeyDelay(delay)
WASD := false

F1:: {
    global
    WASD := !WASD
    if WASD {
        SetTimer(SendCircle, delay)
    } else {
        SetTimer(SendCircle, 0)
    }
}

SendCircle() {
    Send("wasd")
}

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 13 guests