Have you ever wanted something coded for some silly quality of life purpose?
Have you never realized you wanted something because you never thought of it before, but the new script helps you a lot??
Have you made something you thought was a nice QoL script and think other people might enjoy it??
That's what this thread is for!! Useful quality of life code buckets to help make your Aetolia experience better.
-------------------------------------------------
To start, an IC deletion list based off of IC MISSING. I got tired of so many things bogging down what I felt was important to just look at with a quick IC MISSING, so I deleted it all.
https://ada-young.com/pastebin/pJzGCvjw
4
Comments
a set of aliases for logging lessers, majors, and orrery
^alpha (.*)$
--the list must be separated by commas and spaces
----alpha bulrok, mjoll, mazzion, tetchta, taj, iesid, zenobia
local pplList = string.split(matches[2], ", ")
for k,v in pairs(pplList) do
pplList[k] = string.title(v)
end
table.sort(pplList)
act("wt "..table.concat(pplList, ", "))
^lapha (.*)$
local pplList = string.split(matches[2], ", ")
for k,v in pairs(pplList) do
pplList[k] = string.title(v)
end
table.sort(pplList)
act("writelog CLANALIAS lesser: "..table.concat(pplList, ", "))
^malpha (.*)$local pplList = string.split(matches[2], ", ")
for k,v in pairs(pplList) do
pplList[k] = string.title(v)
end
table.sort(pplList)
act("writelog CLANALIAS major: "..table.concat(pplList, ", "))
^oalpha (/d+) (.*)$
--needs a number for round of orrery
----oalpha 6 iesid, bulrok, mjoll
local pplList = string.split(matches[3], ", ")
for k,v in pairs(pplList) do
pplList[k] = string.title(v)
end
table.sort(pplList)
act("writelog CLANALIAS orrery round "..matches[2]..": "..table.concat(pplList, ", "))
--- alias ^fs (\w+)$
if not fishingTable[matches[2]] then
echo("\nError, invalid option: " .. matches[2])
else
cecho("[ we know the following "..matches[2].. " locations]")
for k, _ in pairs(fishingTable[matches[2]]) do
cecho("\n[" .. k .. "]:")
for _, v in pairs(fishingTable[matches[2]][k]) do
cecho(" " .. v)
end
end
end
-- end of code for alias
--script with this inside it
fishingTable =
{
ocean =
{
["Beryl Sea"] = {5597, 21035},
["ocean near ollin"] = {20268},
["Tasur'ke Sea"] = {64670},
["The Western Ocean"] = {58683},
},
mud =
{
["Ilhavon Pond"] = {55412, 55420},
["Mud on the Scidve"] = {9705, 9706},
["Morgun Pond"] = {2781},
},
shallows =
{
["Beryl Sea shallows near Raim"] = {58698},
["Shallows of the Beryl Sea"] = {3416},
["Shallows near Kornar"] = {21452},
["Polyargos Shallows"] = {5477},
},
caves =
{
["Feral Caves"] = {16575},
["Festering Wastes"] = {22866},
["Fractal Bloom"] = {63030},
["Hlugnic Aqueduct"] = {57627},
["Itzatl Cave"] = {11222},
["Nal'jin Canyon"] = {31870},
["Nal'jin Depths"] = {38090},
["Riparium Abyss"] = {32911},
["Scidve Grotto"] = {9833},
["Siroccian Cave"] = {3429},
["Siroccian Lake"] = {26905},
["The Caverns of Telfinne"] = {22286},
["The Forgotten City"] = {56099},
["The Forgotten Dome"] = {55101},
["Torturers' Caverns"] = {23314},
["Under the Black Lake"] = {12777},
["Dramedo Warrens"] = {58298},
["The Forgotten Depths/Ia'shal Barrow"] = {57091},
},
river =
{
["Bloodwood River"] = {57572},
["Dun River"] = {4711},
["Enorian Canal"] = {56421},
["Liruma Tributary"] = {36264},
["Myesis Branch"] = {31553},
["Tainhelm Brook"] = {16540},
["The Blue Myesis River"] = {23892},
["The Eidar River"] = {14467},
["The Pachacacha River"] = {1599},
["The Pachacacha Valley"] = {1591},
["The Peshwar Delta"] = {1603},
["The Perilaus River"] = {11993},
["The River Zaphar"] = {788},
["The Scidve Stream"] = {9695},
["The Teo'ltien River"] = {16622},
["The Urubamba River"] = {1041},
["The White Myesis River"] = {23899},
["Yuzurai Village"] = {60034},
},
spring =
{
["Azdun Spring"] = {8109},
["Morgun Spring"] = {4793},
["Shamtota Spring"] = {58866},
["Sirrocian Spring"] = {3005},
["Temple of the Underking"] = {51736},
["Vintal Glade"] = {42876},
},
tidal = {["Mostyn Tidal Pools"] = {13114}, ["Mournhold"] = {46414}},
lagoon = {["Mostyn Lagoon"] = {13167}, ["North Strand Lagoon"] = {18236}},
lake =
{
["Arbothia Pond"] = {15140},
["Black Lake"] = {11994},
["Dolbodi Lake"] = {19387},
["Dryad Garden Lake"] = {5739},
["Fengard Lake"] = {3273},
["Green Lake"] = {11312},
["Ilhavon Lake"] = {21326},
["Three Rock Lake"] = {20302},
["Lake Onimah"] = {43701},
["Lake Astri"] = {57687},
},
brackish = {["Auresian Marsh"] = {18402}, ["Scidve Swamp"] = {9824}, ["Torston"] = {17602}},
ice =
{
["Alaqsii Inlet"] = {22527},
["Asper Village"] = {13292},
["Augerweald"] = {23925},
["Iviofiyedu"] = {56563},
["Southern Tundral Lake"] = {23263},
["Widow's Crack"] = {22541},
},
elemental = {["Mournhold Vortex"] = {46363}},
}
^reply$
cecho("REPLY IS BAD, WE DON'T USE REPLY ANY MORE TO RESPOND TO PEOPLE.")
Using the simple alias TIMEZONES will show something like this:
You can also compare two specific timezones if you want to. Then you type TIMEZONES and get something like this:
The colors correspond to this general schedule:
midnight_blue: general sleeping hours
amaranth: early morning, but possibly awake
olive: normal work hours
green: after work, open for game-time!
teal: closing in on bedtime, but could work
Alias:
local tz1 = matches[2]
local tz2 = matches[3]
Hope you like and enjoy your future IC planning!
Edited to fix timezone issues
Script: color table
Colors alias
If you want to add a timezone line, all you have to do is copy a line close to your desired one, and move the first hours, as many as needed, to the back of the line, or vice versa.
For example:
After the above changes, Elene's timezone is not represented, but W.Oz is just one timezone away. Copy/paste and change from
W.Oz 08 09 10 etc. Ending in 07
To
ELENETIME 07 08 09 etc. Ending in 06
Edit: and on last minute decided to test, yeah it works with (), if you're a weirdo that still uses those.
edit edit: if you're a habitual "emote" instead of "em" user, just head to the emote_preview_code alias and change the "em" to an "emote"
I will note, this is for Mudlet, which I assume most people use already, however I know some use Nexus, CMUD, as well as MUSHclient.
^as (.+)$
send("affliction " .. matches[2] .. " show")
Hope this helps someone, even if it's rather simple and dumb.
Requires mudlet and mudlet mapper, naturally. Also requires sunder (you can alternatively tweak the code slightly to replace sunder's target variable with your own target variable)
Usage: wear the night pendant, do "pds target" to see where they are in conjunction with mudlet mapper numbers. Do "pdchs target" while having that person's name as your target in Sunder, and you'll automatically move to that person's room.
Edit: Forgot to add an alias that is part of the package. Is in the v2 package now.
Usage is pretty easy, just LETTERLIST as normal and it'll prepend the ID before the letter, and it'll show up like this!
I bet after this someone is gonna come up and tell me there's an easier way to do this.