getTablePicksLeft: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page getTablePicksLeft to GetTablePicksLeft without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page GetTablePicksLeft to getTablePicksLeft: Converting page titles to lowercase)
(No difference)

Revision as of 23:38, 9 February 2023

getTablePicksLeft() Function

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

Introduced in version 1.6.0
Returns the number of picks, i.e. entries, in a table that have not been chosen. The individual entries in a Pick Once table can only be randomly chosen once until the table is reset.

Usage

getTablePicksLeft(tableName)

Parameters

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

Examples

[r:getTablePicksLeft("Poker Deck")]
Result: Returns the number of entries in the table that have not been chosen.

See Also