Advertisement
Guest User

Untitled

a guest
Feb 12th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  
  2. SendMode Input
  3. SetWorkingDir %A_ScriptDir%  
  4. CoordMode, Mouse, Relative
  5. #SingleInstance force
  6. #Persistent
  7. Tooltip, Esper, 150, 150
  8. SetKeyDelay, 65, 65
  9. KeyWait, Delete, D
  10. WinGet, Esper, ID, A
  11. Sleep, 500
  12.  
  13. Goto GetMouse1
  14.  
  15. GetMouse1:
  16. MsgBox, Select Fighter Up
  17. KeyWait, NumPad1, D
  18. MouseGetPos , xpos1, ypos1, Esper
  19. goto GetMouse2
  20. return
  21.  
  22. GetMouse2:
  23. MsgBox, Select Fighter Down
  24. KeyWait, NumPad1, D
  25. MouseGetPos , xpos2, ypos2, Esper
  26. goto GetMouse3
  27. return
  28.  
  29. GetMouse3:
  30. MsgBox, Select Fighter Left
  31. KeyWait, NumPad1, D
  32. MouseGetPos , xpos3, ypos3, Esper
  33. goto GetMouse4
  34. return
  35.  
  36. GetMouse4:
  37. MsgBox, Select Fighter Right
  38. KeyWait, NumPad1, D
  39. MouseGetPos , xpos4, ypos4, Esper
  40. Goto Timer
  41. return
  42. Timer:
  43. SetTimer, ParaDown, 800
  44. return
  45. f5::Pause
  46. return
  47. SetTimer, ParaDown, 800
  48. ParaDown:
  49. ControlSend, , {4}, ahk_id %Esper%
  50. ControlClick, x%xpos1% y%ypos1%, ahk_id %Esper%,,LEFT
  51. ControlSend, , {4}, ahk_id %Esper%
  52. ControlClick, x%xpos1% y%ypos1%, ahk_id %Esper%,,LEFT
  53. ControlSend, , {4}, ahk_id %Esper%
  54. ControlClick, x%xpos2% y%ypos2%, ahk_id %Esper%,,LEFT
  55. ControlSend, , {4}, ahk_id %Esper%
  56. ControlClick, x%xpos2% y%ypos2%, ahk_id %Esper%,,LEFT
  57. ControlSend, , {4}, ahk_id %Esper%
  58. ControlClick, x%xpos3% y%ypos3%, ahk_id %Esper%,,LEFT
  59. ControlSend, , {4}, ahk_id %Esper%
  60. ControlClick, x%xpos4% y%ypos4%, ahk_id %Esper%,,LEFT
  61. ControlSend, , {4}, ahk_id %Esper%
  62. ControlClick, x%xpos4% y%ypos4%, ahk_id %Esper%,,LEFT
  63. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement