-
Notifications
You must be signed in to change notification settings - Fork 2
/
Default
300 lines (268 loc) · 13 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
//------------------------------------------------
// D E F A U L T
//------------------------------------------------
// This macro file is included for every character by default.
// Use it for general macros that you want available to all characters.
setglobal defaultfilerevision "2024-0803-2200-0016"
//------------------------------------------------
// B A R E L O A D
//------------------------------------------------
include "DefShares.macro" // Default shares used across all characters. !!AddBackIn!!
include "GoScanner.macro" // main scanner loop !!AddBackIn!!
include "idle.macro" // main idle loop, where thank exile loop resides !!AddBackIn!!
include "Exilepicker.macro" // Torin's exile picker macro. Used in thank exile loop. !!AddBackIn!!
//------------------------------------------------
// A D D -- O N L O A D
//------------------------------------------------
include "abbreviations.macro" // Common abbreviations contributed by many. !!AddBackIn!!
include "dances.macro" // A collection of dances, including a random picker. !!AddBackIn!!
include "funactions.macro" // most of the simple action macros use to role play !!AddBackIn!!
include "globalset.macro" // where /cmds is and setf is found !!AddBackIn!!
include "keys.macro" // manages key rings, keys to use are set in character's file !!AddBackIn!!
include "ledger.macro" // managers ledgers, judging and figuring out which ledgers you hold, partially implemented
// include "omega_zu.macro" // Omega's Zu macro with mods by Noivad !NEED TO DEBUG - END KEY ERROR !!
include "quickchain.macro" // chaining macro !!AddBackIn!!
include "readtext2.macro" // raul's read text macro reborn !!AddBackIn!!
include "shares.macro" // Gorvin's dynamic sharecads !!AddBackIn!!
include "sunstone.macro" // Sunstone macros, including group and clan
include "tc_macro.macro" // think clan and think group macros
include "tyrandom.macro" // pulled out macro from abbreviations.macro
include "yells.macro" // generic yells !!AddBackIn!!
/* TESTING */
include "setnumpadoption.macro"
/* OLD AND DISABLED MACRO FILES
include "directions.macro" // An older how to get to places on main island
include "moneycount.macro"
include "storahelp.macro" // Old macro for when Stora was around
*/
// ------------------------------------------------
// L O G I N L O O P - One accross all macro files
// ------------------------------------------------
@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 share1 "[none]" // Used in defshares.macro
setglobal share2 "[none]" // Used in defshares.macro
setglobal share3 "[none]" // Used in defshares.macro
setglobal share4 "[none]" // Used in defshares.macro
setglobal share5 "[none]" // Used in defshares.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
// setglobal thankreg " replace with in-character for regular exiles \r" // Used in idle.macro
// setglobal thankfnf " replace with a friends and family thank message \r" // 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"
// Determining if time stamps are in log
set scanText @env.textLog
if scanText.word[0] > "/"
setglobal startText 3
else
setglobal startText 0
end if
Message "** DEFAULT == Global Variables SET == **"
//::::::::::::::::::::::::::::::::::::::::::::::::
// Global Variables Defined -- END SECTION
//::::::::::::::::::::::::::::::::::::::::::::::::
message "** DEFAULT == RELOADED MACROS == **"
if myspeed == ""
"\options speech speed medium \r"
else
"\options speech speed " myspeed " \r"
end if
message "***************** From DEFAULT file *****************"
message " * * * B A R E L O A D * * *"
message "Character File Used -- " charfileused
message "Character File Rev -- " charfilerevision
message "Default File Rev -- " defaultfilerevision
message "defshares File Rev -- " DefSharesfilerevision
message "GoScanner File Rev -- " GoScannerfilerevision
message "idle File Rev -- " idlemacrofilerevision
message "Exilepicker File Rev -- " ExilePickerfilerevision
message " * * * A D D -- O N L O A D ***"
message "Abbreviations File Rev -- " abbreviationsfilerevision
message "dances File Rev -- " dancesfilerevision
message "funactions File Rev -- " funactionsfilerevision
message "globalset File Rev -- " globalsetfilerevision
message "keys File Rev -- " keysfilerevision
message "ledger File Rev -- " ledgerfilerevision
message "omega_zu File Rev -- " omega_zufilerevision
message "quickchain File Rev -- " quickchainfilerevision
message "readtext2 File Rev -- " readtext2filerevision
message "setnumpadoption File Rev -- " setnumpadoptionfilerevision
message "shares File Rev -- " sharesfilerevision
message "sunstone File Rev -- " sunstonefilerevision
message "tc_macro File Rev -- " tc_macrofilerevision
message "tyrandom File Rev -- " tyrandomfilerev
message "yells File Rev -- " yellsfilerevision
message " * * * C H A R A C T E R S P E C I F I C * * *"
message "dearpunisher File Rev --" dearpunisherfilerevision
message "interviews File Rev -- " interviewsmacrofilerevision
message "moonstone_functions File Rev -- " moonstone_functionsfilerevision
message "yells-la File Rev -- " yellslafilerevision
message "yells-geese File Rev -- " yellsgeesefilerevision
/* D I S A B L E D M A C R O F I L E S
message "directions File Rev -- " directionsrev
*/
message "GLOBAL VARIABLES"
message " ."
// Set of macros assigned to numpad
// message "numpadset" "== " numpadset
// set gTesting to 1 to disable various macros while testing.
setglobal gTesting 1
message "gTesting is set to " gTesting
// set gAmStudying to 1 to enabled to allow for random things said while idling
message "gAmStudying is set to " gAmStudying
message "To list custom commands list, use /cmds from globalset.macro"
// 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 "/options speech speed (slow, medium, fast, zoom)"
"/options ? speech speed \r"
message "** DEFAULT == COINS == **"
"/money \r"
//::::::::::::::::::::::::::::::::::::::::::::::::
// RE- EQUIP WEARABLES
//::::::::::::::::::::::::::::::::::::::::::::::::
// Required since syncing scripts un-equip items you are normally wearing
// define these variable as setglogbal in your character file.
// setfglobal zleftitem ""
// setfglobal zrightitem ""
// setfglobal zfeetitem ""
// setfglobal zheaditem ""
// setfglobal zlegsitem ""
// setfglobal zshoulderitem ""
// setfglobal zneckitem ""
// setfglobal ztorsoitem ""
// setfglobal zforeheaditem ""
// setfglobal zfingeritem ""
"/equip " zleftitem " \r"
"/equip " zrightitem " \r"
"/equip " zfeetitem " \r"
"/equip " zheaditem " \r"
"/equip " zlegsitem " \r"
"/equip " zshoulderitem " \r"
"/equip " zneckitem " \r"
"/equip " ztorsoitem " \r"
"/equip " zforeheaditem " \r"
"/equip " zfingeritem " \r"
call defshares // honors gTesting
Message charmsg1
Message charmsg2
// 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 "*** DEFAULT: Starting MAIN LOOP ***"
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 !!AddBackIn!!
// "/noscan" call noscan // in Default !!AddBackIn!!
// "/pick" call ExilePicker // in Exilepicker.macro !!AddBackIn!!
// "/test1" call teststatus // in Default !!AddBackIn!!
//::::::::::::::::::::::::::::::::::::::::::::::::
// 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"
// end call dcr // dances.macro
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
2021-0224-Inu: Added this log.
Attributions: Noivad and more I don't know.
2022-0703-Inu: Added abbreviations file revision to login message.
2022-1109-Inu: Added more indicators in messages to show where the macros are running from.
2024-0803-Inu: Added thankyourandom.macro to default list.
*/