TinTin++ Mud Client Manual
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
Macro
space
Syntax: #macro {key sequence} {commands}
space
The key sequence which is send to the terminal when pressing a function key can differ depending on OS and terminal, to find out what sequence is send you can enable the CONVERT META config option. You can enable meta conversion mode for the next key press by pressing ctrl-v.
space
If you want to create a macro that executes murder bubba whenever you press F1 you would do the following:
space
Type: #macro {(press the F1 key)} {murder bubba} -- The macro should work now.
space
By default tintin emulates bash input editing. Macros in combination with the #cursor command can be used to alter tintin's input editing behavior.
space
Comment: You can remove macros with the #unmacro command.
space