Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. MButton::
  2. Suspend, permit
  3. if (State = 0)
  4. {
  5. SoundBeep 2000, 200
  6. Sleep 100
  7. SoundBeep 2000, 200
  8. State++
  9. }
  10. Else
  11. {
  12. State := 0
  13. Soundbeep 800, 500
  14. }
  15. Suspend, Toggle
  16. Return
  17. XButton1::
  18. Loop
  19. {
  20. Send, {r Down}
  21. Sleep 50
  22. Send, {r Up}
  23. Sleep 100
  24. Send, {t Down}
  25. Sleep 50
  26. Send, {t Up}
  27. Sleep 100
  28. If (GetKeyState("XButton1","P")=0)
  29. Break
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement