setLibProperty

From RPTools Wiki
Revision as of 14:18, 13 December 2008 by Craig (talk | contribs) (New page: ==Function setLibProperty== Sets the Token:Token Property on a Token:LibToken. if the name of the Token:LibToken is not specified then the Token:Token Property is set...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function setLibProperty

Sets the Token Property on a LibToken. if the name of the LibToken is not specified then the Token Property is set on the LibToken that the macro is running from.


Usage

[h: setLibProperty(name, value)]
[h: setLibProperty(name, value, libName)]

Examples

Set a property on the LibToken that the macro is running from.

[h: setLibProperty("defaultStrength", 10)]

Set a property on a specifig LibToken.

[h: setLibProperty("defaultStrength", 10, "Lib:Character")]