Home
  • Home
  • About
    • Features
    • History
  • PlayPlay
  • Community
    • Discord
    • Elvenrunes
    • Links
    • Interviews
    • Wiki
  • News
    • War
    • Game News
    • Web News
  • Resources
    • Newcomers
    • Help
    • Rules
    • Dictionary
    • Boards
    • Download
    • Restricted
  • Search

MUME Help

Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

ALIAS, MACROS


This command allows you to define abbreviations for long commands frequently used, thus minimizing your typing.

Usage:

alias list aliases
alias <word> delete alias
alias <word> <expansion> define alias
alias please remove all of them (sic!) delete all aliases

You cannot define alias, or any of its abbreviations except a as an alias.

The character & (ampersand) acts as a placeholder for arguments to your alias. The rest of the line (after your alias) is inserted where & is found in the definition.

If <expansion> does not contain any &, any following words will be added to the end of the command. This does not happen for multi-command aliases (see below).

Backslash (\) acts as an escape character. Use it to suppress special handling of other characters (such as ampersand or semicolon). If your alias expansion should contain a backslash, you have to double it.

Note that your client may treat backslash specially, so you may have to escape it somehow.

Multi-command aliases

An alias can expand into several commands by separating them with semicolons (;).

An empty command in the expansion will not cancel any delayed action.

Note that your client may treat semicolon specially, so you may have to escape it somehow.

Keyword aliases

If <word> starts with % (percent) it is a "keyword alias" which will be expanded whenever a keyword lookup is done to find a character, object, or door.

Some words cannot be used as keyword aliases: words that the look command treats specially (at, around, north, east, …) and some prepositions like in, from, and with.

To inhibit keyword alias expansion, you prepend the word in a command with %.

Examples

> alias dw drink water
> dw
drink water
> alias ko kill &orc
> ko 2.
kill 2.orc
> alias rb ride behind
> rb gandalf
ride behind gandalf
> alias tar alias %target &
> alias b backstab &target
> tar *orc*
alias %target *orc*
> b
backstab *orc*
> b 2.
backstab 2.*orc*
> alias %sword longsword
> wield sword
wield longsword
> wield %sword
wield sword
> alias maze e;u;s;w;s
> maze
move east, up, south, west, and south

See help account for how the account import command can import aliases from other characters in your account.

See also: LABELS

Generated on Sun Mar 26 19:51:03 2023

What is MUME?

MUME, Multi-Users in Middle-earth, is a multiplayer text-based online game based upon J. R. R. Tolkien’s Middle-earth during the epic wars of the late Third Age between the forces of the Dark Lord and the armies of the Free peoples. MUME is completely at no cost and has been continuously running, expanded, and remastered by a community of volunteers since 1991.

Ready to explore?
Play Now