Spamminb button affects other keys ingame Topic is solved

Ask gaming related questions (AHK v1.1 and older)
User avatar
VenomousReaperGoat
Posts: 3
Joined: 17 Jan 2024, 01:51
Contact:

Spamminb button affects other keys ingame

Post by VenomousReaperGoat » 23 Jan 2024, 12:33

Code: Select all

winTitle = ahk_exe TheGame.exe
#If WinActive(winTitle)
'::
    Toggle := !Toggle
    If (Toggle=True) {
        SoundBeep , 2050, 90
        SetTimer, var, 30

    } else {
        SoundBeep , 600, 90
        SetTimer, var, Off
    }
Return

var:
    Send, {q}
Return


SO when i do this manually, with my finger, it works normally. WHen i do it with ahk though, it wont let me sprint. Ion understand why.
Rohwedder
Posts: 7657
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Spamminb button affects other keys ingame  Topic is solved

Post by Rohwedder » 24 Jan 2024, 02:07

Hallo,
no idea how you sprint but I assume you do it with modifiers. Change:

Code: Select all

var:
    Send, {q}
Return
to:

Code: Select all

var:
    Send, {Blind}{q}
Return
User avatar
VenomousReaperGoat
Posts: 3
Joined: 17 Jan 2024, 01:51
Contact:

Re: Spamminb button affects other keys ingame

Post by VenomousReaperGoat » 31 Jan 2024, 13:52

@Rohwedder
Much Appreciated! This did fix the problem!
Post Reply

Return to “Gaming Help (v1)”