[Home] [Downloads] [Search] [Help/forum]

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

Aliases
Keypad navigation
Macro keys

Command

(ConfigureMacros) Sets macro options

Dialog

Generate Unique ID

Functions

(Accelerator) Add or modify an accelerator key (keystroke to command mapping)
(AcceleratorList) List defined accelerators
(AcceleratorTo) Add or modify an accelerator key - with "Send To" parameter

(Help topic: dialog=IDD_EDIT_MACRO)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]