setStrProp: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:setStrProp moved to setStrProp) |
(No difference)
|
Revision as of 04:40, 9 March 2009
setStrProp() Function
Returns a string property list with the key set to the value passed in.
Usage
[h: props = setStrProp(propList, key, value)]
Example
[h: weapon = "name=longsword; damage=1d8; maxdamage=8"]
[h: weapon = setStrProp(weapon, "value", 10)]