getTokenStates

From RPTools Wiki
Revision as of 21:45, 9 March 2009 by Verisimilar (talk | contribs) (Initial write-up.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

getTokenStates() Function

Introduced in version 1.3b51
Returns the valid states in the campaign settings.

Usage

getTokenStates()
getTokenStates(delim)

Parameter

  • delim - Specifies the delimiter used in the string list that is returned, defaultis ",". If the value is set to json, the function returns a JSON array instead.