Edit macro
Macro type:

The key that you press to invoke this macro.

Send:

What to send. This gets sent through the command processor, so it can consist of aliases, speedwalks or script commands.

Send action

What to do with the send text when you press the macro key.

Replace

The entire contents of the command window is replaced by the macro.

Send Now

The macro is immediately acted upon, however the command window contents are not changed.

Insert

The macro contents is inserted into the command window. You can then edit it if you wish.




Hint

To do more elaborate things (like expanding variables, running scripts) enter a nonsense word in the "send" box, and then make an alias to "catch" that word, and do the extra processing in the alias. One way of doing this is to use the Edit -> Generate Unique ID menu item to generate a unique word, like this:

381e051a828fb201b6914699

This is unlikely to be something you would normally want to type into the MUD. Then make an alias to match on "381e051a828fb201b6914699" (or whatever word you choose) and make the alias do things like expand variables, call scripts, etc.


See Also ...

Topics

DOC_aliases Aliases
DOC_keypad Keypad navigation
DOC_macros Macro keys

Command

CMD_ID_GAME_CONFIGURE_MACROS ConfigureMacros (Sets macro options)

Dialog

DLG_IDD_GENERATE_UNIQUE_ID Generate Unique ID

Functions

FNC_Accelerator Accelerator (Add or modify an accelerator key (keystroke to command mapping))
FNC_AcceleratorList AcceleratorList (List defined accelerators)

(Help topic: dialog=IDD_EDIT_MACRO)

DOC_contents Documentation contents page