getTableRoll: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=getTableRoll |version=1.4.0.1 |description= Returns the roll expression for the specified table. May only be used by GM or a trusted macro. |usage= <sour...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|name=getTableRoll
|name=getTableRoll
|version=1.4.0.1
|version=1.4.0.1
|trusted=true
|description=
|description=
Returns the roll expression for the specified table. May only be used by GM or a trusted macro.
Returns the roll expression for the specified table.
|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getTableRoll(tableName)
getTableRoll(tableName)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
{{param|tableName|A string containing the name of the Table.}}
{{param|tableName|A string containing the name of the Table.}}
|also=
|also=
[[table (function)|table()]]
{{func|setTableRoll}}
}}
}}
[[Category:Table Function]]
[[Category:Table Function]]

Latest revision as of 20:34, 14 March 2023

getTableRoll() Function

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

Introduced in version 1.4.0.1
Returns the roll expression for the specified table.

Usage

getTableRoll(tableName)

Parameters

  • tableName - A string containing the name of the Table.


See Also