Skip to content

Commit c3edf58

Browse files
committed
Renames
1 parent 5dbce5c commit c3edf58

File tree

70 files changed

+1512
-1542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1512
-1542
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2-
InitScript()
3-
4-
#SingleInstance, Force
5-
#NoEnv
6-
#Warn
7-
#MaxHotkeysPerInterval 99000000
8-
#HotkeyInterval 99000000
9-
SetBatchLines, -1
10-
Process, Priority, , A
11-
12-
F6::
13-
SetTimer , AFK , 500
14-
Return
15-
16-
AFK:
17-
Random, rand, 250, 2001
18-
Sleep %rand%
19-
Send {p}
20-
Sleep 1001
21-
Send {2}
22-
Sleep 1001
23-
Send {RButton down}
24-
Sleep 1001
25-
Send {RButton up}
26-
Sleep 3001
27-
Send {c}
28-
Sleep 1001
29-
Send {p}
30-
Sleep 75001
31-
Return
32-
33-
$*F7::
34-
SetTimer, AFK, Off
1+
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2+
InitScript()
3+
4+
#SingleInstance, Force
5+
#NoEnv
6+
#Warn
7+
#MaxHotkeysPerInterval 99000000
8+
#HotkeyInterval 99000000
9+
SetBatchLines, -1
10+
Process, Priority, , A
11+
12+
F6::
13+
SetTimer , AFK , 500
14+
Return
15+
16+
AFK:
17+
Random, rand, 250, 2001
18+
Sleep %rand%
19+
Send {p}
20+
Sleep 1001
21+
Send {2}
22+
Sleep 1001
23+
Send {RButton down}
24+
Sleep 1001
25+
Send {RButton up}
26+
Sleep 3001
27+
Send {c}
28+
Sleep 1001
29+
Send {p}
30+
Sleep 75001
31+
Return
32+
33+
$*F7::
34+
SetTimer, AFK, Off
3535
ExitApp
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2-
InitScript()
3-
4-
#SingleInstance, Force
5-
#NoEnv
6-
#Warn
7-
#MaxHotkeysPerInterval 99000000
8-
#HotkeyInterval 99000000
9-
SetBatchLines, -1
10-
Process, Priority, , A
11-
12-
; Function to clean up remaining zombies
13-
CleanUpZombies()
14-
{
15-
Loop 5
16-
{
17-
Send {LButton} ; Auto-repeat consists of consecutive down-events
18-
Sleep 50 ; The number of milliseconds between keystrokes
19-
}
20-
}
21-
22-
F6:: ; When F6 is pressed, start the loop
23-
{
24-
Loop
25-
{
26-
; Start of the loop
27-
StartTime := A_TickCount ; Store the start time
28-
Walked20Seconds := false ; Flag to check if walking occurred at 20-21 seconds
29-
Walked35Seconds := false ; Flag to check if walking occurred at 35-36 seconds
30-
; Run the loop
31-
Loop
32-
{
33-
; Check if 40 seconds have passed
34-
if (A_TickCount - StartTime >= 40000)
35-
{
36-
break ; Break out of the inner loop
37-
}
38-
; Your code to execute during the loop goes here
39-
Random, rand, 0, 20
40-
DllCall("Sleep","UInt",rand)
41-
Send {LButton}
42-
Sleep 10
43-
Send {g}
44-
Sleep, 100 ; Add a small delay to prevent high CPU usage
45-
}
46-
; Clean up remaining zombies
47-
CleanUpZombies()
48-
Sleep, 2000
49-
CleanUpZombies()
50-
; Wait for new Wave of Zombies
51-
Sleep, 12000
52-
}
53-
return
54-
}
55-
1+
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2+
InitScript()
3+
4+
#SingleInstance, Force
5+
#NoEnv
6+
#Warn
7+
#MaxHotkeysPerInterval 99000000
8+
#HotkeyInterval 99000000
9+
SetBatchLines, -1
10+
Process, Priority, , A
11+
12+
; Function to clean up remaining zombies
13+
CleanUpZombies()
14+
{
15+
Loop 5
16+
{
17+
Send {LButton} ; Auto-repeat consists of consecutive down-events
18+
Sleep 50 ; The number of milliseconds between keystrokes
19+
}
20+
}
21+
22+
F6:: ; When F6 is pressed, start the loop
23+
{
24+
Loop
25+
{
26+
; Start of the loop
27+
StartTime := A_TickCount ; Store the start time
28+
Walked20Seconds := false ; Flag to check if walking occurred at 20-21 seconds
29+
Walked35Seconds := false ; Flag to check if walking occurred at 35-36 seconds
30+
; Run the loop
31+
Loop
32+
{
33+
; Check if 40 seconds have passed
34+
if (A_TickCount - StartTime >= 40000)
35+
{
36+
break ; Break out of the inner loop
37+
}
38+
; Your code to execute during the loop goes here
39+
Random, rand, 0, 20
40+
DllCall("Sleep","UInt",rand)
41+
Send {LButton}
42+
Sleep 10
43+
Send {g}
44+
Sleep, 100 ; Add a small delay to prevent high CPU usage
45+
}
46+
; Clean up remaining zombies
47+
CleanUpZombies()
48+
Sleep, 2000
49+
CleanUpZombies()
50+
; Wait for new Wave of Zombies
51+
Sleep, 12000
52+
}
53+
return
54+
}
55+
5656
F7::ExitApp
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2-
InitScript()
3-
4-
#SingleInstance, Force
5-
#NoEnv
6-
#Warn
7-
#MaxHotkeysPerInterval 99000000
8-
#HotkeyInterval 99000000
9-
SetBatchLines, -1
10-
Process, Priority, , A
11-
12-
F6::
13-
SetTimer , AFK , 100
14-
return
15-
16-
AFK:
17-
Random, rand, 0, 20
18-
DllCall("Sleep","UInt",rand)
19-
Send {LButton}
20-
Sleep 10
21-
Send {g}
22-
return
23-
1+
#Include %A_ScriptDir%\..\..\Lib\AHK_Common.ahk
2+
InitScript()
3+
4+
#SingleInstance, Force
5+
#NoEnv
6+
#Warn
7+
#MaxHotkeysPerInterval 99000000
8+
#HotkeyInterval 99000000
9+
SetBatchLines, -1
10+
Process, Priority, , A
11+
12+
F6::
13+
SetTimer , AFK , 100
14+
return
15+
16+
AFK:
17+
Random, rand, 0, 20
18+
DllCall("Sleep","UInt",rand)
19+
Send {LButton}
20+
Sleep 10
21+
Send {g}
22+
return
23+
2424
F7::ExitApp

0 commit comments

Comments
 (0)