Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- keybind := "CapsLock" ; edit this to change your desired hotkey
- slideInput := "^e" ; edit this to change the actual input it spams; set to Ctrl-E by default as that's the default bind for crouch/slide + melee
- repeatDelay := 100 ; edit this to change the default delay (in ms) between repeated slide attack inputs (use PgUp and PgDn while in-game to edit the delay on the fly for testing, a tooltip will pop up showing you the current value)
- SetKeyDelay, 0
- #IfWinActive Warframe
- Hotkey, IfWinActive, Warframe
- Hotkey, %keybind%, SAMacro
- *PgUp::ModDelay(10)
- *PgDn::ModDelay(-10)
- #IfWinActive
- SAMacro() {
- global
- While GetKeyState(keybind, "P") {
- Send, %slideInput%
- Sleep, repeatDelay
- }
- }
- ModDelay(amount) {
- global repeatDelay
- repeatDelay += amount
- ToolTip, %repeatDelay%
- SetTimer, RemoveToolTip, -1000
- }
- RemoveToolTip() {
- ToolTip
- }
Advertisement
Add Comment
Please, Sign In to add comment