Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance Force
- #NoEnv
- #Warn
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- toggle10 := 0
- toggle11 := 0
- toggle12 := 0
- F9::
- Reload
- Return
- #IfWinActive ahk_exe IdleDragons.exe
- F10::
- toggle10 := !toggle10 ; Turns toggle on if it is off, and off if it is on
- if (toggle10) {
- SetTimer, Timer_Spam10, 1000
- } else {
- SetTimer, Timer_Spam10, Off
- }
- return
- Timer_Spam10:
- IfWinNotActive ahk_exe IdleDragons.exe
- {
- toggle10 := 0
- SetTimer, Timer_Spam10, Off
- }
- IfWinActive ahk_exe IdleDragons.exe
- {
- Click 750, 400 ; Click 'Done'
- Sleep 500
- Click 450, 200 ; Reveal top left card
- Sleep 100
- Click 750, 200 ; Reveal top middle card
- Sleep 100
- Click 1000, 200 ; Reveal top right card
- Sleep 500
- }
- Return
- #IfWinActive ahk_exe IdleDragons.exe
- F11::
- toggle11 := !toggle11 ; Turns toggle on if it is off, and off if it is on
- if (toggle11) {
- SetTimer, Timer_Spam11, 1000
- } else {
- SetTimer, Timer_Spam11, Off
- }
- return
- Timer_Spam11:
- IfWinNotActive ahk_exe IdleDragons.exe
- {
- toggle11 := 0
- SetTimer, Timer_Spam11, Off
- }
- IfWinActive ahk_exe IdleDragons.exe
- {
- Click 750, 400 ; Click 'Done'
- Sleep 500
- Click 450, 200 ; Reveal top left card
- Sleep 100
- Click 750, 200 ; Reveal top middle card
- Sleep 100
- Click 1000, 200 ; Reveal top right card
- Sleep 100
- Click 900, 550 ; Reveal bottom right card
- Sleep 100
- Click 600, 550 ; Reveal bottom left card
- Sleep 500
- }
- Return
- #IfWinActive ahk_exe IdleDragons.exe
- F12::
- toggle12 := !toggle12 ; Turns toggle on if it is off, and off if it is on
- if (toggle12) {
- SetTimer, Timer_Spam12, 1000
- } else {
- SetTimer, Timer_Spam12, Off
- }
- return
- Timer_Spam12:
- IfWinNotActive ahk_exe IdleDragons.exe
- {
- toggle12 := 0
- SetTimer, Timer_Spam12, Off
- }
- IfWinActive ahk_exe IdleDragons.exe
- {
- Click 450, 500 ; Click chest
- Sleep 500
- Click 650, 565 ; Click Purchase
- Sleep 500
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement