MUDBRINGER
Menu

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:

  1. Pick a short alias name.
  2. Put the full command in the alias body.
  3. 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:

  1. Identify the incoming text to trigger from.
  2. Choose a simple response command.
  3. 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:

  1. When you receive “You are hungry” from the mud, it executes eatup.
  2. You can manually trigger as well by sending eatup.
  3. eatup handles the actions you set for eating.
  4. Changing the actions for both can be done in the eatup alias 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.