getPropertyDefault

From RPTools Wiki
Revision as of 22:17, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page getPropertyDefault to GetPropertyDefault without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

getPropertyDefault() Function

Introduced in version 1.3b48
Returns the default value of a token property for the Current Token. If the default value contains nothing then an empty string ("") is returned.

Usage

getPropertyDefault(name)
getPropertyDefault(name, propType)

Parameter

  • name - The name of the property to get the default value of.
  • propType - The token type to get the property from. Defaults to the token type of the Current Token.