setLibProperty

From RPTools Wiki
Jump to navigation Jump to search

Function setLibProperty

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


Usage

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

Examples

Set a property on the Library Token that the macro is running from.

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

Set a property on a specifig Library Token.

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