-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlegacy.ahk
44 lines (37 loc) · 1.14 KB
/
legacy.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
#SingleInstance, Force
Hotkey, LButton, Off
MsgBox, 64, Welcome!, Welcome to Cheat Clicker Legacy`nIt`'s pretty easy to use`nJust set the amount of times you want to click each time you click and press Enter`n`nHere are some useful hotkeys:`nF5 - Allows you to edit the click amount`nCtrl + F5 - Exit Cheat Clicker
clickInput()
{
global
InputBox, clickAmount, Welcome!, Welcome to Cheat Clicker Legacy!`nHow many clicks do you want to do per click?`nCan only contain 0-9, SHOW, Default, Default, Center, Center, Locale,, 2
if ErrorLevel
clickInput()
if clickAmount is not digit
{
Loop
{
Hotkey, LButton, Off
InputBox, clickAmount, Welcome!, Welcome to Cheat Clicker!`nHow many clicks do you want to do per click?`nYou must ONLY type characters 0 to 9, SHOW, Default, Default, Center, Center, Locale,, 2
if ErrorLevel
clickInput()
if clickAmount is digit
Break
}
}
Hotkey, LButton, On
}
clickInput()
LButton::
loop, %clickAmount%
{
Click
}
Return
F5::
Hotkey, LButton, Off
clickInput()
Return
^F5::
ExitApp
Return