Last active
December 10, 2019 19:08
-
-
Save jfoster/1d9df5e366f0495c4447c7ef4a8d1e51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pause::Suspend | |
#IfWinActive ahk_exe bf1.exe || ahk_exe bf3.exe || ahk_exe bf4.exe | |
~*LButton:: | |
SendInput {f down} | |
Sleep 100 | |
SendInput {f up} | |
Return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spnd = 0 | |
`:: | |
Suspend | |
If (Spnd = 0) { | |
Spnd = 1 | |
Soundbeep, 1000, 50 | |
Soundbeep, 750, 50 | |
Soundbeep, 500, 50 | |
} Else { | |
Spnd = 0 | |
Soundbeep, 500, 50 | |
Soundbeep, 750, 50 | |
Soundbeep, 1000, 50 | |
} | |
Return | |
LButton:: | |
FileReadLine, minRPM, rapidfire.txt, 1 | |
FileReadLine, maxRPM, rapidfire.txt, 2 | |
if ErrorLevel { | |
Return | |
} | |
While GetKeyState("LButton", "P") { | |
SendInput, {LButton} | |
Random, rpm, minRPM, maxRPM | |
Sleep, 60000 / rpm | |
} | |
Return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
600 | |
550 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment