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.
decode(str)
[h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")]