setTableEntry
setTableEntry() Function
• Introduced in version 1.4.0.1
Sets the result for a specified roll value. Returns
true
(1
) if update successful and false
(0
) if not. May only be used by GM or a trusted macro.Usage
setTableEntry(tableName, roll, result)
Parameters
tableName
- A string containing the name of the Table.roll
- Whether or not the table can be seen by players in the Table Window,true
(1
) orfalse
(0
).result
- A string containing the result returned by the table() function.