Table of Contents

Choose an automation

Automation saves typing or reacts to a known situation. Start with the smallest tool that fits the job.

The Automations window with saved aliases, triggers, hotkeys, modules, and packages in the sidebar

Tool Starts when Good first use
Alias You enter matching text Turn k goblin into kill goblin
Trigger A line from the MUD matches Send eat bread after a hunger message
Hotkey You press a chosen key combination Send a direction or frequently used command
Timer A script starts or schedules it Remind yourself later or repeat work at an interval

Aliases, triggers, and hotkeys can be created in the Automations window without writing code. Choose Send as text and enter the command to send. JavaScript is available when a command alone is not enough.

Timers are script-created; there is no saved timer editor. See createTimer when you reach that point.

Check the MUD's rules

Automation allowed by the client may still be forbidden by the MUD. Rules often distinguish conveniences, such as aliases, from unattended play or automated combat. Check before creating anything that sends commands without an immediate key press.

Keep a human in the loop

A trigger acts on text, not on intent. Similar lines, player-controlled text, localization, and formatting changes can all cause a match you did not expect. Prefer a specific pattern, test it in the editor, and watch it work before relying on it.

Avoid trigger loops. If a trigger sends a command that makes the MUD repeat the same matching line, it can flood both the connection and the game. Disable the trigger from Automations or disconnect the session if this happens.

Saved and script-created automations

Items you create in the Automations window are saved to disk and remain until you edit or delete them. Modules and packages can also register automations while they load. Those items are rebuilt by their code and are shown as belonging to that module or package; edit the source rather than expecting a runtime item to become a saved user automation.

Saved automations belong to a server, not to one profile. Every profile under that server loads them. If an item should apply to only one character, its script must check the current profile; a plain Send as text item has no profile-only switch.

Start with Create an alias.