setMacroCommand

From RPTools Wiki
Jump to navigation Jump to search

setMacroCommand() Function

 Note: This function can only be used in a Trusted Macro

Usage

[h: setMacroCommand(buttonIndex, command)]

Examples

[h: setMacroCommand(1, "[macro('Test@Lib:Test'): '']")]