Script for autofire
Posted: 23 Aug 2017, 04:55
I'm trying to make a simple script that autofires (press LButton) only while holding RButton.
So, if I press LButton nothing happens, but if I press RButton and then LButton it autofires.
Can Anyone help me?
I have this script that works while LButton is holding:
So, if I press LButton nothing happens, but if I press RButton and then LButton it autofires.
Can Anyone help me?
I have this script that works while LButton is holding:
Code: Select all
~$*LButton:: ; Fires Automaticly when Autofire is on.
if V_AutoFire = 1
{
Loop
{
GetKeyState, LButton, LButton, P
if LButton = U
Break
MouseClick, Left,,, 1
Gosub, RandomSleep
}
}
Return