View difference between Paste ID: KbyXdRzD and SGJgYrL5
SHOW: | | - or go back to the newest paste.
1
SetTitleMatchMode 2
2
SetControlDelay -1
3
4
f7:: ; hover over Level Up button, press f7
5
MouseGetPos X1, Y1, actWin
6-
	ControlClick x50 y150, ahk_id %actWin%,,,, NA
6+
7-
	ControlSend,, {ctrl down}, ahk_id %actWin%
7+
	ControlClick x50 y150, Play Crusaders of the Lost Idols,,,, NA
8-
	ControlClick, x%X1% y%Y1%, ahk_id %actWin%,,,, NA
8+
	ControlSend,, {ctrl down}, Play Crusaders of the Lost Idols
9-
	ControlSend,, {ctrl up}, ahk_id %actWin%
9+
	ControlClick, x%X1% y%Y1%, Play Crusaders of the Lost Idols,,,, NA
10
	ControlSend,, {ctrl up}, Play Crusaders of the Lost Idols
11
	sleep 2000
12
}
13
14
f8:: ; hover over click area, press f8
15
MouseGetPos X2, Y2, actWin
16
SetTimer, ClickEnemy, 20
17
return
18
19-
ControlClick, x%X2% y%Y2%, ahk_id %actWin%,,,, NA
19+
20
ControlClick, x%X2% y%Y2%, Play Crusaders of the Lost Idols,,,, NA
21
return
22
23
f9::pause ; pauses timer
24
f10::reload ; turns off timer