t3h_m00kz

WheelDown.ahk

Mar 6th, 2022
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Delay grenade switching via wheel down to not be insane
  2.  
  3. #Include Init.ahk
  4.  
  5. #If WinActive("ahk_exe HaloInfinite.exe")
  6.    
  7. ;Mouse wheel down plus wildcard modifier plus do not suppress
  8. ~*WheelDown::
  9.     switchGrenade()
  10.     return
  11.  
  12. ;Grenade switch input
  13. switchGrenade(){
  14.     send {blind}{i up}
  15.     send {blind}{i down}
  16.     sleep 10
  17.     send {blind}{i up}
  18.    
  19.     Sleep 70 ;stock cooldown
  20.    
  21.     return
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment