roll.count: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: The special variable ''roll.count'' holds the current iteration of the [COUNT(): ] roll option. ''roll.count'' begins at 0. ==Examples==...)
 
Line 14: Line 14:
  This is roll 3
  This is roll 3
  This is roll 4
  This is roll 4
==Related Pages==
* [[Macros:Variables:list_of_special_variables|List of Special Variables]]
* [[Macros:Branching_and_Looping | Branching and Looping Options ]]

Revision as of 17:34, 22 December 2008

The special variable roll.count holds the current iteration of the [COUNT(): ] roll option. roll.count begins at 0.

Examples

[COUNT(5, "<br>"): "This is roll " + roll.count]

Outputs:

This is roll 0
This is roll 1
This is roll 2
This is roll 3
This is roll 4

Related Pages