| Function group | Execute on client | Platform(s) |
| Random | NO | All |
rollstring(string-formula)
Returns the result of a die roll from a string-formula.
The format of the string-formula is:
rollstring NdF [ + - * / offset ]
where N is the number of dice, d is a delimiter, and F is the number of faces for each die. In addition, you can add, subtract, multiply, or divide by an offset.
CalculatelResultasrollstring('2d6')# returns the result of rolling two standard sixed-faced dice
CalculatelResultasrollstring('3d6+1')
CalculatelResultasrollstring('12d4+6')