forked from CL-LA/macros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default
192 lines (172 loc) · 7.89 KB
/
Default
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
//------------------------------------------------
// default
//------------------------------------------------
// This macro file is included for every character by default.
// Use it for general macros that you want available to all characters.
setglobal defaultfilerevision "20210528-0100-0009"
include "abbreviations.macro" // Common abbreviations contributed by many.
include "dances.macro" // A collection of dances, including a random picker.
include "DefShares.macro" // Default shares used across all characters.
include "directions.macro"
include "Exilepicker.macro" // Torin's exile picker macro. Used in thank exile loop.
include "funactions.macro"
include "globalset.macro"
include "GoScanner.macro"
include "idle.macro" // main idle loop, where thank exile loop resides
include "keys.macro"
include "omega_zu.macro" // Omega's Zu macro with mods by Noivad
include "quickchain.macro"
include "readtext2.macro"
include "shares.macro"
include "storahelp.macro"
include "sunstone.macro"
include "tc_macro.macro" // think clan and think group macros
include "yells.macro" // generic yells
// include "moneycount.macro"
@login
{
//::::::::::::::::::::::::::::::::::::::::::::::::
// Global Variables Defined -- BEGIN SECTION
//::::::::::::::::::::::::::::::::::::::::::::::::
// 1. Copy this section to your Character's file (Global Variables Defined), including comments.
// 2. Remove the // before the setglobal (in columns 1-2 only).
// 3. Make changes specific to that character, then save your changes.
// 4. Reload your macros.
// ----------------------------------------------
// setglobal chaintype "chain" // Used by Quickchain.macro.
// setglobal defpie "DragonHawk" // Used by Pie-O-Matic in funactions.macro
// setglobal gIdleTime 100 // Set this to the desired pause time for idle.macro
// // (every 4 = 1 second approximately)
// setglobal InfoExile 0 // Turns off exile info by default. Used in idle.macro.
// // set can change it.
// setglobal myDefLeft "" // Re-equip desired left item.
// setglobal myspeed medium // sets speed of speed zoom, fast, medium, slow
// setglobal MySunStone sunstone / sungem / suncrystal
// Set this to your sunstone. Used in sunstone & tc_macro.
// setglobal NumZuBags 3 // the number of kudzu bags you carry. Used in omega_zu.macro
// setglobal OccupyRandom 0 // 1 = Occupy is on. Any other value = Occupy is OFF.
// // Used in idle.macro
// setglobal scanBreak 0 // Enables scanner to run continuously. Used in GoScanner.macro
// setglobal ThankRandom 0 // turns on thank random for any exile clanning.
// // Used in idle.macro
// setglobal ThankExile 1 // turns on thank specific set of random exiles.
// // Used in idle.macro
// Healer specific global variabbles
// setglobal woc "Asklepian Staff" // Used by Quickchain.macro to re-equip default right hand item.
// setglobal AmCadding 1 // 1 disables ExilePicker, 0 enables ExilePicker.
// // Used by exilepicker.macro and idle.macro
// The below are used in moonstone_functions.macro
// setglobal myWeapon "dagger" // change this to your weapon of choice.
// setglobal healingDevice "Mercurial Staff" // set to "Caduceus" or "Mercurial Staff"
// setglobal auraHDevice "Asklepian Staff" // Set this to "Asklepian" or "Asklepian Staff"
//::::::::::::::::::::::::::::::::::::::::::::::::
// Global Variables Defined -- END SECTION
//::::::::::::::::::::::::::::::::::::::::::::::::
message "********* RELOADED MACROS *********"
if myspeed == ""
"\options speech speed medium \r"
else
"\options speech speed " myspeed " \r"
end if
message "Character File Used -- " charfileused
message "Character File Rev -- " charfilerevision
message "Default File Rev -- " defaultfilerevision
message "idle.macro File Rev -- " idlemacrofilerevision
message "directions Rev -- " directionsrev
message "clan yells File Rev -- " clanyellsfilerevision
message "general yells File Rev -- " yellsfilerevision
// set gTesting to 1 to disable various macros while testing.
setglobal gTesting 1
message "gTesting is set to " gTesting
message "To list custom commands list, use /cmds" //Found in
// Thank global variables
setglobal thankcounter 1 // initializes thank cooloff counter - used in idle.macro
setglobal thankcooloff 1200
message "thankcounter = " thankcounter
setglobal redopickexilecounter 0
message "redopickexilecounter = " redopickexilecounter
setglobal infoExileClanning @selplayer.simple_name
message "infoExileClanning = " infoExileClanning
message ** COINS **
"/money \r"
call defshares // honors gTesting
// 20161130 - Added to debug why macros after GoScan loop are not being recognized
// 20180630 - Figured out why, the GoScan is an endless loop by design.
// It will only return here if there is an error.
//::::::::::::::::::::::::::::::::::::::::::::::::
// MAIN CODE
//::::::::::::::::::::::::::::::::::::::::::::::::
// This must be kept inside the @login loop in order to stay running
// and to keep the stuff below from being displayed IC
message "*** Starting MAIN CODE ***"
call GoScan // in GoScanner.macro
call Scanner // in GoScanner.macro
label returnFromGoScan
message "This is a test to see if return from GoScan works"
message "to restart scanner, type: goscan"
}
//::::::::::::::::::::::::::::::::::::::::::::::::
// /Custom call X functions
//::::::::::::::::::::::::::::::::::::::::::::::::
"goscan" call GoScan // in GoScanner.macro
"/noscan" call noscan // in Default
"/pick" call ExilePicker // in Exilepicker.macro
"/test1" call teststatus // in Default
//::::::::::::::::::::::::::::::::::::::::::::::::
// Function key assignments
//::::::::::::::::::::::::::::::::::::::::::::::::
//
// F1 - embedded pull
// F2 - embedded push
// F3 - + shift + control - to moonstone_functions.txt or character file
// F4 - + shift - to moonstone_functions.txt or character file
// F5 - to quickchain.mac
// F6 - + shift + control - to omega_zu.mac
// F7 - to player's macro file
// F8 - to character file
// F9 - to dances.mac
// numpad 1-9 + alt - to moonstone_functions.txt
// Common to all characters
f1 "/pull " @selplayer.simple_name " \r"
f2 "/push " @selplayer.simple_name " \r"
// f5 call flybychain // Quickchain.mac
// f6 call zu-stuff // omega_zu.mac
// shift-F6 call zu-add // omega_zu.mac
// control-f6 call zu-remove // omega_zu.mac
f7 call walk1 // character file
f8 call ping-yell // abbreviations.mac
shift-F8 call thinkfalling // sunstone.mac
control-f9 call dcr // dances.mac
// Other keys
control-click2 call click-action // Quickchain.mac
click3 "/thank " @selplayer.simple_name " :) \r"
// control-click "/pull " @click.name "\r" // overtaken by moonstone_functions.txt - 20100918
// control-shift-click "/push " @click.name "\r" // overtaken by moonstone_functions.txt - 20100918
control-tab call noscan
// wheelup call flybychain // highly recommend against assigned anything to wheel up nor down
// wheeldown call DHAwakeAFK // unless you have a clicky wheel. Using this with a smooth
// scrolling mouse is not something to try,
// as you will have multiple calls to same macro. chain break!
click4 message "==> TESTING"
teststatus
{
"/STATUS /REMOVE \r "
// "/STATUS " occMsg " \r"
}
//------------------------------------------------
// NoScan - turns off Scanner macro (Noivad's + ?)
//------------------------------------------------
noscan
{
setglobal scanBreak 1 //This allows you to stop this macro without stopping other macros
setglobal mStop 1
message "To restart idle/scan/loop macros, type: goscan"
}
message "===> Loaded Default macro file"
/*
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
R E V I S I O N L O G
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
20210224-Inu: Added this log.
Attributions: Noivad and more I don't know.
*/