deleteTableEntry: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Conversion script moved page deleteTableEntry to DeleteTableEntry without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:30, 9 February 2023

deleteTableEntry() Function

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

Introduced in version 1.4.0.1
Removes a row from the specified table. 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