table

From RPTools Wiki
Revision as of 10:43, 14 December 2008 by Craig (talk | contribs) (New page: ==Function table== Gets the text value from the specified Table. If the row is not specified then the default Macros:roll for the Table is used. The row can be either a const...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function table

Gets the text value from the specified Table. If the row is not specified then the default roll for the Table is used. The row can be either a constant or a roll.

Usage

Display a random value from table "tbl1" using default roll. >

    [r: table("tbl1")]

Display the first value from table "tbl1".

    [r: table("tbl1", 1)]

Display one of the first 4 values from "tbl1" chosen randomly.

    [r: table("tbl1", "1d4")]