Advertisement
Guest User

AutoDropShot.ahk

a guest
Oct 27th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. ;VARIABLES
  2.  
  3. V_OnOff = 0
  4.  
  5. ;SCRIPT MANAGEMENT
  6.  
  7. Loop
  8. {
  9. IfWinActive, Call of Duty 4
  10. {
  11. Suspend, Off
  12. }
  13. IfWinNotActive, Call of Duty 4
  14. {
  15. Suspend, On
  16. }
  17. }
  18.  
  19. ;On Off Trigger
  20.  
  21. Numpad0::
  22. V_OnOff = 0
  23. Return
  24.  
  25. Numpad1::
  26. V_OnOff = 1
  27. Return
  28.  
  29. ;Script
  30.  
  31. Return
  32.  
  33. ~$*LButton::
  34. {
  35. If V_OnOff = 1
  36. {
  37. Send, {LCTRL down}
  38. sleep 10
  39. Send, {LCTRL up}
  40. sleep 999
  41. {
  42. Return
  43. }
  44. }
  45. }
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement