resetTablePicks: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=resetTablePicks |version=1.6.0 |trusted=true |description= Resets the entries in a table that have been picked. The individual entries in a ''Pick Once'...") |
(No difference)
|
Revision as of 15:58, 10 March 2020
resetTablePicks() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.6.0
Resets the entries in a table that have been picked. The individual entries in a Pick Once table can only be randomly chosen once until the table is reset with this function. This can be used to simulate a deck of cards where a card picked is no longer available for future picks until the deck is re-shuffled.
Usage
resetTablePicks(tableName)
Parameters
tableName
- A string containing the name of the Table.
Examples
[r:resetTablePicks("Poker Deck")]