getLibProperty: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) No edit summary |
Verisimilar (talk | contribs) m (Macros:Functions:getLibProperty moved to getLibProperty) |
(No difference)
|
Revision as of 03:51, 7 March 2009
getLibProperty() Function
Returns the value of a token property from a library token. If the lib argument is not specified then the token property will be retrieved from the library token that the macro is currently running from.
Usage
[h: val = getLibProperty(name)]
[h: val = getLibProperty(name, lib)]
Examples
To get the "init" token property from the library token that a macro is running from use.
[getLibProperty("init")]
To get the "init" token property from a library token called "lib:Attacks" use.
[getLibProperty("init", "lib:Attacks")]