-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzzz.ahk
73 lines (58 loc) · 1.29 KB
/
zzz.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#SingleInstance, force
; Press R to start/stop the left click toggle action
R::
Toggle := !Toggle
if (Toggle) {
SetTimer, ClickMouse, 25
} else {
SetTimer, ClickMouse, Off
}
return
ClickMouse:
Click
return
; Press F4 to execute the left click action 4 times - soldier 11
F4::
Loop, 8
{
Sleep, 25 ; 0.025 seconds
Click
Sleep, 300 ; 0.3 seconds
}
return
; Press F5 to execute the left click action - charged attack
F5::
Loop, 8
{
Sleep, 25 ; 0.025 seconds
Click, down
Sleep, 300 ; 0.3 seconds
click, up
}
return
; Press F6 to execute the left click action - charged attack corin
F6::
Loop, 12
{
Sleep, 25 ; 0.025 seconds
Click, down
Sleep, 300 ; 0.3 seconds
click, up
}
return
; Press F8 to execute holding E key
F8::
Send, {e Down}
Sleep, 1000 ; Adjust the sleep time as needed for the charge duration for 1 sec.
Send, {e Up}
return
; Press F9 to execute holding E key - corin
F9::
Send, {e Down}
Sleep, 2000 ; Adjust the sleep time as needed for the charge duration for 2 sec.
Send, {e Up}
return
:*:code ::+;*+;+;+; {home} {right 5}{space 2}
^`::suspend
^escape::exitapp
^8::Reload ; Assign Ctrl+8 as a hotkey to restart the script.