deleteTableEntry

From RPTools Wiki
Revision as of 09:34, 3 May 2016 by Jagged (talk | contribs) (Created page with "{{MacroFunction |name=deleteTableEntry |version=1.4.0.1 |description= Removes a row from the specified table. May only be used by GM or a trusted macro. '''Note:''' deleting...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

deleteTableEntry() Function

Introduced in version 1.4.0.1
Removes a row from the specified table. May only be used by GM or a trusted macro. Note: deleting a row from a table will not automatically change the table row value, so this should be updated to avoid possible errors.

Usage

deleteTableEntry(tableName,roll)

Parameters

  • tableName - A string specifying the table from which the row will be removed.
  • roll - An integer and the value that specifies the row to be removed.

Examples

[r:addTableEntry("test",1,3,"bert")]
[r:deleteTableEntry("test",2)]
[r:setTableRoll("test","")]

See Also