getTablePickOnce

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

getTablePickOnce() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.6.0
Returns a 1 if the specified table has been set as Pick Once and a 0 if it hasn't.

Usage

getTablePickOnce(tableName)

Parameters

  • tableName - A string containing the name of the table.

Examples

[r:getTableRoll("Poker Deck")]
Returns: Either a 1 or 0 if the table is or isn't set as Pick Once.

See Also