getLabel: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 7: | Line 7: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getLabel() | getLabel() | ||
</source> | </source> | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getLabel(id) | getLabel(id) | ||
</source> | </source> |
Revision as of 18:15, 14 March 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
getLabel() Function
• Introduced in version 1.3b48
Returns the Token Label for a specific Token.
Usage
<syntaxhighlight lang="mtmacro" line> getLabel() </source> <syntaxhighlight lang="mtmacro" line> getLabel(id) </source> Parameter
id
- The tokenid
of the token that has its Token Label returned, defaults to the Current Token.Note: This parameter can only be used in a Trusted Macro.
See Also
Version Changes
- 1.3b51 - Added
id
parameter option.