getLibProperty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
m (Added to Property Function category.)
Line 21: Line 21:
</source>
</source>
}}
}}
[[Category:Token Library Function]]
[[Category:Token Library Function]][[Category:Property Function]]

Revision as of 07:35, 26 May 2009

getLibProperty() Function

Introduced in version 1.3b48
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

getLibProperty(name)
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")]