setTableAccess

From RPTools Wiki
Revision as of 10:39, 3 May 2016 by Jagged (talk | contribs) (Created page with "{{MacroFunction |name=setTableAccess |version=1.4.0.1 |description= Sets whether or not the specified table is accessible to players. May only be used by GM or a trusted macro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setTableAccess() Function

Introduced in version 1.4.0.1
Sets whether or not the specified table is accessible to players. May only be used by GM or a trusted macro.

Usage

setTableAccess(tableName, visible)

Parameters

  • tableName - A string containing the name of the Table.
  • visible - 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