Audience: New scripting users
What This Guide Covers
Reference: Read the Scripting Basics and Wizards guide first for core syntax, wildcards, variables, procedures, and wizard navigation.
This guide is focused on the two commands you will use constantly:
- Aliases: shortcuts you type manually.
- Actions: automatic responses to incoming text.
Think of it this way: aliases speed up what you type, and actions automate what you react to. [TIP] Check out TabLists for even faster typing!
Aliases: Your Fast Shortcuts
An alias lets you type one short command and send a longer one. As with all MudBringer script entities, you can use the dedicated wizard, or use in-line scripts instead.
Alias Wizard:
The Alias Wizard is accessed via Window > Actions, Aliases, Thresholds, (A), or by clicking the wizard button on the toolbar:
Steps:
- Pick a short alias name.
- Put the full command in the alias body.
- Test it by sending the alias name through the session terminal.
Script Example:
/alias {loot} {get all from corpse} {combat}
Now type loot. MudBringer sends get all from corpse.
List your aliases:
/aliases
[TIP] Keep alias names short and easy to remember. You will use them a lot.
Actions: Automatic Responses
An action watches incoming text and runs a command when it matches. As with all MudBringer script entities, you can use the dedicated wizard, or use in-line scripts instead.
Action Wizard:
The Action Wizard is accessed via Window > Actions, Aliases, Threshholds (A), or by clicking the wizard button on the toolbar:
Steps:
- Identify the incoming text to trigger from.
- Choose a simple response command.
- Save the action and watch it fire.
Example:
/action {You are hungry} {eat bread} {survival}
When that line appears, the client sends eat bread for you.
List your actions:
/actions
[TIP] Start with exact phrases from your game output so matching stays predictable.
Pairing Aliases and Actions
Aliases and actions work best together:
- Alias handles your manual routine.
- Action handles repeat events while you focus on gameplay.
Example pair:
/alias {buff} {cast armor;cast bless} {prep}
/action {You are badly wounded} {cast heal} {combat}
You can manually send buff while the action quietly handles emergency healing triggers.
Using Them Together
Try this full setup:
/alias {eatup} {get food from backpack;eat food} {AutoEat}
/action {You are hungry} {eatup} {AutoEat}
Now:
- When you receive “You are hungry” from the mud, it executes
eatup. - You can manually trigger as well by sending
eatup. eatuphandles the actions you set for eating.- Changing the actions for both can be done in the
eatupalias alone.
Quick Reference
Core commands:
- /alias {shortcut} {command} {group} : Create a shortcut command.
- /aliases : List all aliases.
- /action {text} {command} {group} : Run a command when text appears.
- /actions : List all actions.