Dragon

Land of Karchan

Macro

NAME
Macro - formatted output

SYNOPSIS
macro <macroname> <commands separated by ;>

DESCRIPTION

Creates, deletes or shows macros.

A simple call to "macro" without any parameters, will show all your defined macros.

A call like "macro macroname" will remove the macro "macroname".

A call like "macro macroname bow ; smile" will create the macro "macroname", that will, when entered, execute a bow and a smile.

For advanced users: Try adding a %t in the macro contents, to replace the first parameter after the macroname.

As you no doubt noticed, it is possible to execute multiple commands, using a ";" (semicolon) to separate said commands. Bear in mind that the ; must be preceded and followed by a space. By the way, this will also work in the normal way, not just for this macro command.

EXAMPLES
"macro macroname bow to %t ; smile"

You: Macro set.
"macroname Marvin"

You: You bow to Marvin. You smile.
Marvin: Hotblack bows to you. Hotblack smiles.
Anybody: Hotblack bows to Marvin. Hotblack smiles.

SEE ALSO
help

Back to the Command Reference