rolldice()

Function groupExecute on clientPlatform(s)
RandomNOAll

Syntax

rolldice(number,faces)

Description

Returns the result of a die roll. You specify the number of dice to roll and the number of faces on each die.

Example

Calculate
 
lResult
 as 
rolldice
(2,6)

# rolls two normal, six-sided dice and puts the result in lResult