Alias
In the game: help alias
/alias <name> {<commands>} (or /al)
/alias lists your aliases
/unalias <name> removes one
An alias is a word of your own that runs one or more commands. Separate commands with ";", and put the commands in braces when they have spaces or a ";":
/al fb {cast 'fireball';say eat my fireball!}
fb
Words typed after the alias are its arguments: %1 is the first, %2 the second... up to %9, and %0 all of them. A group in braces is one word. An alias that uses none of them gets the words added to its end.
/al k {kill %1;say Die, %1!}
k orc kills the orc and says "Die, orc!"
/al c cast
c 'magic missile' orc
An alias can use other aliases, variables (@name) and paths. Type ";;" for a ";" that is not a separator (say a;;b says "a;b").
Your aliases, triggers, variables and paths belong to your account: all your characters have them, in any browser. The Scripts pane lists them to add, change and remove.
An alias can go on the hotbar like a skill: drag it there from the Scripts pane, or click an empty slot (or right-click one) and pick it from the list. Its slot shows the first three letters of its name, and using it runs the alias as if you had typed it, so a hotbar slot can do almost anything.
See also
The whole help guide, every topic on one page, searchable.
Grindy Mud is a free fantasy MUD you play in your browser. Play now.