setTableAccess

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

setTableAccess() Function

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

Introduced in version 1.4.0.1
Sets whether or not the specified table is accessible to players.

Usage

setTableAccess(tableName, accessible)

Parameters

  • tableName - A string containing the name of the Table.
  • accessible - Whether or not the table can be accessed by players in the Table Window, true(1) or false(0).

Examples

[h:setTableAccess("randomMonsters", 0)]

See Also