Advertisement
Guest User

.ahk rust recoil compensator

a guest
Feb 6th, 2016
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #NoEnv
  2. SendMode Input
  3.  
  4. ~Q::Suspend
  5. ~End::ExitApp
  6.  
  7. LCtrl & ~LButton::
  8. Loop
  9. If GetKeyState("LButton", "LCtrl") {
  10. Sleep, 1
  11. moveAmount := (moveAmount = 2) ? 3 : 0
  12. mouseXY(moveAmount,4)
  13.  
  14. }
  15. else
  16. break
  17.  
  18. Return
  19.  
  20.  
  21.  
  22. mouseXY(x,y)
  23. {
  24. DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement