Advertisement
Guest User

blitz macro

a guest
Dec 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. autofire.ahk
  2.  
  3. #InstallKeybdHook
  4. Fire:
  5. {
  6. #IfWinActive, ahk_exe RainbowSix.exe
  7. Sleep (400)
  8. Loop
  9. {
  10. SetMouseDelay 40
  11. Click
  12. If (GetKeyState("RButton","P")=0)
  13. Break
  14. }
  15. }
  16.  
  17. ~RButton::
  18. gosub, Fire
  19. return
  20.  
  21. autolean.ahk
  22.  
  23. #InstallKeybdHook
  24. Lean:
  25. {
  26. #IfWinActive, ahk_exe RainbowSix.exe
  27. Sleep (400)
  28. Loop
  29. {
  30. SendInput, {q down}
  31. Sleep 10
  32. SendInput, {q up}
  33. Sleep, 150
  34. SendInput, {e down}
  35. Sleep 10
  36. SendInput, {e up}
  37. Sleep, 150
  38. If (GetKeyState("RButton","P" )=0)
  39. Break
  40. }
  41. }
  42.  
  43. ~RButton::
  44. gosub, Lean
  45. return
  46.  
  47. autocrouch.ahk
  48.  
  49. #InstallKeybdHook
  50. Crouch:
  51. {
  52. #IfWinActive, ahk_exe RainbowSix.exe
  53. Sleep (200)
  54. Loop
  55. {
  56. SendInput, {c down}
  57. Sleep 100
  58. SendInput, {c up}
  59. Sleep, 100
  60. SendInput, {c down}
  61. Sleep 100
  62. SendInput, {c up}
  63. Sleep, 100
  64. If (GetKeyState("RButton","P")=0)
  65. Break
  66. }
  67. }
  68.  
  69. RButton::
  70. gosub, Crouch
  71. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement