Skip to main content


Discworld player help



A short introduction to the Discworld alias system.


The alias command basically allows you to create shortcuts for commands. In its most simple form, an alias allows you to rename a command, but you can do fairly complicated things with them as well.

This help file aims to give an introduction to making and using aliases. It does not cover complicated alias patterns or alias categories. If you want an explanation of all the syntaxes of the command, or a tutorial to writing more advanced aliases, check help alias tutorial.

How to use aliases

In its most basic form, you can use an alias to shorten other commands, and to combine a number of commands. The following examples demonstrate how it is done.

> alias align score align
> alias bs backstab
> alias pp put $*$ in pack
> alias halfdrink get $*$ from pack; drink 1/2 of $*$; pp $*$

The first command creates an alias "align". After creating this alias, if you type "align" the mud will execute "score align". The second alias demonstrates another feature: aliases can take arguments. If you type "bs beggar", the mud will execute "backstab beggar".

The third command demonstrates how to put arguments elsewhere in your command. The $*$ is replaced by whatever you put after the alias. So for example typing "pp money" would have the mud execute "put money in pack".

Finally, you can use a semi-colon to execute several commands in one go, as demonstrated in the fourth example.

Special Aliases

If you create an alias login, it will be executed when you login; the alias afterinventory will be executed after your inventory regeneration. Aliases .plan and project affect your finger information.

Final notes

You can check all your aliases by simply typing "alias" or view a summary of your aliases with "qalias". You can get rid of an unwanted alias with the command "unalias".

As mentioned before, the examples given here are only the tip of the iceberg (although the tip that you will probably use most). For a complete tutorial, see help alias tutorial. For a more in-depth explanation of the unalias command, see help unalias.

See Also:

alias tutorial, unalias, ealias, qalias