Last active
November 13, 2018 00:18
-
-
Save Gordin/8aa486d35bfec8b104e18fa6ed1e1a6e to your computer and use it in GitHub Desktop.
This file contains 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
; PageUp does a slide attack. Can be held down if your weapon is really fast | |
; Change `; to your duck key and l to your melee attack key | |
#IfWinActive ahk_exe Warframe.x64.exe | |
slideAttackActive := false | |
PgUp:: | |
if (not slideAttackActive) { | |
slideAttackActive := true | |
send {`; down} | |
send, {l} | |
Sleep, 200 | |
send {`; up} | |
Sleep, 250 | |
slideAttackActive := false | |
} | |
Return | |
#IfWinActive | |
; Turn Left Click into Rapid Fire. Toggle with PageDown | |
; Displays a notification at the bottom of screen when turned on | |
#IfWinActive ahk_exe Warframe.x64.exe | |
#MaxThreadsPerHotkey 3 | |
PgDn:: ; PageDown hotkey (change this hotkey to suit your preferences). | |
#MaxThreadsPerHotkey 1 | |
if RapidFire ; This means an underlying thread is already running the loop below. | |
{ | |
RapidFire := false ; Signal that thread's loop to stop. | |
return ; End this thread so that the one underneath will resume and see the change made by the line above. | |
} | |
; Otherwise: | |
RapidFire := true | |
SplashImage, , BX915Y1060H30W90Hide, , Rapidfire! | |
#InstallMouseHook | |
Loop { | |
If WinActive("Warframe") { | |
SplashImage Show | |
CLICK_STATE := GetKeyState("LButton", "P") | |
If (CLICK_STATE=1) { | |
click | |
} | |
if not RapidFire | |
break | |
} Else { | |
; Destroy Flash message and create a new hidden one because there is no hide function... | |
SplashImage, Off | |
SplashImage, , BX915Y1060H30W90Hide, , Rapidfire! | |
Sleep, 100 | |
} | |
} | |
RapidFire := false | |
SplashImage, Off | |
return | |
#IfWinActive | |
; Spam 2 every 400ms for Equinox Adaro farming. Toggle with Windows + z | |
#IfWinActive ahk_exe Warframe.x64.exe | |
#MaxThreadsPerHotkey 3 | |
#z:: ; Win+Z hotkey (change this hotkey to suit your preferences). | |
#MaxThreadsPerHotkey 1 | |
if keepSpamming ; This means an underlying thread is already running the loop below. | |
{ | |
keepSpamming := false ; Signal that thread's loop to stop. | |
return ; End this thread so that the one underneath will resume and see the change made by the line above. | |
} | |
; Otherwise: | |
keepSpamming := true | |
SplashImage, , BX915Y1060H30W90Hide, , Spamming! | |
#InstallMouseHook | |
Loop | |
{ | |
If WinActive("Warframe") | |
{ | |
SplashImage Show | |
Send 2 | |
if not keepSpamming | |
break | |
} Else { | |
; Destroy Flash message and create a new hidden one because there is no hide function... | |
SplashImage, Off | |
SplashImage, , BX915Y1060H30W90Hide, , Spamming! | |
} | |
Sleep 400 | |
} | |
keepSpamming := false ; Reset in preparation for the next press of this hotkey. | |
return | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment