# Dice (MPI)

### From Tapestries MUCK

(Difference between revisions)

m (MPI dice moved to Dice (MPI)) |
|||

Line 1: | Line 1: | ||

- | [[Category:MPI functions]] | + | [[Category:MPI functions]][[Category:MPI Math Functions]] |

=dice= | =dice= | ||

<mpi>{dice:X} | <mpi>{dice:X} |

## Revision as of 00:37, 31 March 2007

# dice

{dice:X} {dice:X,Y} {dice:X,Y,Z}

Given one parameter, picks a random number between 1 and X. (1dX)

Given two parameters, it randomly generates Y numbers between 1 and X, and adds them together.

(YdX) A third parameter, if given, is just added to this sum as a modifier. (YdX+Z)