setStrProp
Function setStrProp
Returns a[Macros:string property list|string property list]] with the key set to the value passed in.
Usage
[h: props = setStrProp(propList, key, value)]
Examples
[h: weapon = "name=longsword; damage=1d8; maxdamage=8"]
[h: weapon = setStrProp(weapon, "value", 10)]
Returns "longsword".