getStrProp: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:getStrProp moved to getStrProp) |
(No difference)
|
Revision as of 04:00, 8 March 2009
getStrProp() Function
Returns the value associated with a key from the specified string property list.
Usage
[h: props = getStrProp(propList, key)]
Example
To get the name from a weapon string property list
Returns
[h: weapon = "name=longsword; damage=1d8; maxdamage=8"]
Name of Weapon = [r: getStrProp(weapon, "name")]
longsword
.