i have a script that could do with some work Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Japanese Cat
Posts: 1
Joined: 21 Jan 2018, 05:06

i have a script that could do with some work

21 Jan 2018, 05:12

the problem is that i have a rapid fire script but every time i press ctrl it stops working
$XButton2::
KeyWait XButton2, T0
If ErrorLevel
While GetKeyState("XButton2","p"){
Click
Sleep 1
}
Else
return

pls help
User avatar
Spawnova
Posts: 554
Joined: 08 Jul 2015, 00:12
Contact:

Re: i have a script that could do with some work  Topic is solved

21 Jan 2018, 07:24

You will need to add an asterisk * before the hotkey to tell it to ignore modifiers

Code: Select all

*XButton2::
While GetKeyState("XButton2","p"){ 
	Click
	Sleep 10
}
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: doanmvu and 61 guests