-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaster.ahk
70 lines (54 loc) · 1.59 KB
/
Master.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
instance1 = mov51 ;sets the names of each instance in use, soft coding for future prrofing
instance2 = mov52
instance3 = mov53
instance4 = mov54
page = 1
SetKeyDelay, 15, 20
SetTitleMatchMode 3
#SingleInstance Force
#WinActivateForce
CoordMode, Mouse, Client
;Crafting Click
#Include %A_ScriptDir%\Modules\OneClickCrafting.ahk
#Include %A_ScriptDir%\Modules\VillagerTrade.ahk
;coreInspecy
#Include %A_ScriptDir%\Modules\CoreInspect\Pagination.ahk
#Include %A_ScriptDir%\Modules\CoreInspect\Base.ahk
;Window switch
;------------------------
#Include %A_ScriptDir%\Modules\WindowManager\WindowSwitch.ahk
;Window name
;------------------------
#Include %A_ScriptDir%\Modules\WindowManager\WindowName.ahk
;Gamemode Switch
;------------------------
#Include %A_ScriptDir%\Modules\Numpad\GameModes.ahk
#Include %A_ScriptDir%\Modules\Numpad\QoL.ahk
;List Homes
;------------------------
#Include %A_ScriptDir%\Modules\GUI\homes\HomeGui.ahk
#Include %A_ScriptDir%\Modules\GUI\Scripts\ScriptsGUI.ahk
;Maintence
^!r::
reload
GuiClose: ;when gui closes
Gui, destroy ;destroy
return
Chat(message, window){
if WinActive(window){
ControlSend, , t, %window%
sleep 150 ;waits for chat GUI to beready
ControlSend, , {text}%message%, %window%
sleep 150 ;waits for minecraft to finish displaying the text
ControlSend, , {Enter}, %window%
}
Return
}
ChatNoCheck(message, window){
ControlSend, , t, %window%
sleep 150 ;waits for chat GUI to beready
ControlSend, , {text}%message%, %window%
sleep 150 ;waits for minecraft to finish displaying the text
ControlSend, , {Enter}, %window%
Return
}