Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. #SingleInstance Force
  2. #NoEnv
  3. #Warn
  4. SendMode Input
  5. SetWorkingDir %A_ScriptDir%
  6.  
  7. toggle10 := 0
  8. toggle11 := 0
  9. toggle12 := 0
  10.  
  11.  
  12. F9::
  13. Reload
  14. Return
  15.  
  16.  
  17. #IfWinActive ahk_exe IdleDragons.exe
  18. F10::
  19. toggle10 := !toggle10 ; Turns toggle on if it is off, and off if it is on
  20. if (toggle10) {
  21. SetTimer, Timer_Spam10, 1000
  22. } else {
  23. SetTimer, Timer_Spam10, Off
  24. }
  25. return
  26.  
  27.  
  28. Timer_Spam10:
  29. IfWinNotActive ahk_exe IdleDragons.exe
  30. {
  31. toggle10 := 0
  32. SetTimer, Timer_Spam10, Off
  33. }
  34.  
  35. IfWinActive ahk_exe IdleDragons.exe
  36. {
  37. Click 750, 400 ; Click 'Done'
  38. Sleep 500
  39. Click 450, 200 ; Reveal top left card
  40. Sleep 100
  41. Click 750, 200 ; Reveal top middle card
  42. Sleep 100
  43. Click 1000, 200 ; Reveal top right card
  44. Sleep 500
  45. }
  46.  
  47. Return
  48.  
  49. #IfWinActive ahk_exe IdleDragons.exe
  50. F11::
  51. toggle11 := !toggle11 ; Turns toggle on if it is off, and off if it is on
  52. if (toggle11) {
  53. SetTimer, Timer_Spam11, 1000
  54. } else {
  55. SetTimer, Timer_Spam11, Off
  56. }
  57. return
  58.  
  59.  
  60. Timer_Spam11:
  61. IfWinNotActive ahk_exe IdleDragons.exe
  62. {
  63. toggle11 := 0
  64. SetTimer, Timer_Spam11, Off
  65. }
  66.  
  67. IfWinActive ahk_exe IdleDragons.exe
  68. {
  69. Click 750, 400 ; Click 'Done'
  70. Sleep 500
  71. Click 450, 200 ; Reveal top left card
  72. Sleep 100
  73. Click 750, 200 ; Reveal top middle card
  74. Sleep 100
  75. Click 1000, 200 ; Reveal top right card
  76. Sleep 100
  77. Click 900, 550 ; Reveal bottom right card
  78. Sleep 100
  79. Click 600, 550 ; Reveal bottom left card
  80. Sleep 500
  81. }
  82.  
  83. Return
  84.  
  85.  
  86. #IfWinActive ahk_exe IdleDragons.exe
  87. F12::
  88. toggle12 := !toggle12 ; Turns toggle on if it is off, and off if it is on
  89. if (toggle12) {
  90. SetTimer, Timer_Spam12, 1000
  91. } else {
  92. SetTimer, Timer_Spam12, Off
  93. }
  94. return
  95.  
  96.  
  97. Timer_Spam12:
  98. IfWinNotActive ahk_exe IdleDragons.exe
  99. {
  100. toggle12 := 0
  101. SetTimer, Timer_Spam12, Off
  102. }
  103.  
  104. IfWinActive ahk_exe IdleDragons.exe
  105. {
  106. Click 450, 500 ; Click chest
  107. Sleep 500
  108. Click 650, 565 ; Click Purchase
  109. Sleep 500
  110.  
  111. }
  112. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement