decode

From RPTools Wiki
Jump to navigation Jump to search

decode() Function

Decodes a string that was encoded with the encode() function. The encode() and decode() functions can be used to encode a property list so that it can be embedded within another property list.

Usage

[h: str = decode(str)]

Example

[h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")]