roll.count

From RPTools Wiki
Revision as of 13:47, 25 March 2009 by Verisimilar (talk | contribs) (Macros:Special Variables:roll.count moved to roll.count: Moved to main namespace.)
Jump to navigation Jump to search

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