Mudlet Miniscripts
For smol scripts used in Mudlet. I made this today (testing the waters) based on Syaja's NEXUS: Multiple Choice Alias Examples thread. I've never tried to use tables or anything, so it might not be the correct way to do it, but it seems to function alright. I liked using Syaja's for Nexus, but now that I'm in Mudlet, I wanted something concise and easy rather than having to type out all the "if this == this then" lines. I'm lazy.
pattern: ^inf(a|g|h|s|f)$<br><br>local ices = {<br> ["a"] = "antivirus",<br> ["f"] = "firewall",<br> ["g"] = "glitch",<br> ["h"] = "honeypot",<br> ["s"] = "scanner"<br>}<br><br>if table.contains(ices, matches[2]) then<br> send("infect "..ices[matches[2]])<br>else<br> cecho("\n<red:black>No ICE like that.\n")<br>end<br>
4
Comments
This requires you have CONFIG USEQUEUEING enabled.
"They're excited, but poor."
- Ilyos (August 2019)
I made a thing, for you little resource players out there. It's just a glorified REFINERY WHATMAKES / WHATFROM.
https://drive.google.com/open?id=1_nDxrNYLgGSLnI5QlB6mi98ZJusP8MxS
Here's what it looks like when you want to check what resources you need to make an item (gravitic_missile, in this example):
https://ada-young.appspot.com/pastebin/wmJvOCfO
And when you want to check what items you can make from a resource (vandium, in this example):
https://ada-young.appspot.com/pastebin/Fspil31z
"EHELP" (in small caps...I forgot to make it not case-sensitivty)
"They're excited, but poor."
- Ilyos (August 2019)
Cycle non-loyal mobs by setting your "target" variable to the included function cycleTarget(oldTarget). For example, i use `tar` so my keybind is set to:
https://www.dropbox.com/s/ii6zvw3r6jg4rwk/CTT.xml?dl=0
Note: Tab is prohibited in mudlet, as it's used for auto complete!
Planning to work on it to allow targeting players and loyals, as well as tracking your own/friendly players and loyals.
I do plan to do some sort of database that gets updated once per level and highlights relative power, as well as detect and prioritise aggressive mobs. Also a config for targeting 'modes.'
You probably shouldn't be going into new areas and hitting everything that moves without scouting the area and probing everything first.
That is also assuming they are tagged as loyal, these are two npc's in the Verge on Song, from someone who is a member thereof:
As to the last, that goes without saying, and is what a temporary or permanent blacklist can be populated from.
Big if true, will have to test when i get off Pylos
If it is loyal to ANY player, or loyal to ANY organization, or is a faction guard, it will have the "x" attribute.
Or various named NPC's around Song Market:
All three of the named NPC's at the residence spire in Song at 3846, etc..
Turrets I did have show in just m list before as I added them to a blacklist so they wouldn't show in mobs caught by just m from hunting in Fields of Oranc, testing it now they do have x for all the ones I am finding however.
This is how I capture the spacemap into a separate window. It's in various UI scripts floating around, but it deserves its own post. Makes doing anything in a ship much more readable. I take no credit for this, it's just what I have managed to find from what others have posted. Here are explicit, step by step instructions, in case you're like me and need them when it comes to coding:
First make 2 triggers, one for when you launch your ship and one for when you dock it. In the launch ship, use and in the dock ship use Then, another trigger to begin the spacemap capture. I called this one spacemap start (imagine that). You need to match this: Location:
...and use a start of line type trigger. Then in the box below use this:
...and use an exact match type trigger. In the box below, use:
Next, another trigger, called spacemap capture. Match this: ^(.+)$
...and use a perl regex trigger. Below, use:
Last, you need to make the window for the map. This you can play with so you have it where you want it, but make a script, call it space, then use this code: