dice
Simulate dice rolls with these simple functions.
- Version
- 1
- Author
- Zooka
- Created
- 29 Jun 2024
- Updated
- 29 Aug 2024
Install from Mudlet's command line
mpkg install diceMudlet 4.20+ with mpkg installed
Description
Description
Functions and aliases to simulate random dice rolls.
Usage
There are three aliaes, diceroll, dicemin and dicemax. They accept dice in the following format xdy where x is the number of dice, y is the number of sides per dice. It also allows appending an number to add (or subtract) from the dice roll. ie. diceroll 2d6+3, or dicemin 3d5-1. The functions can also be called directly from other scripts; dice.roll(num, sides, append), dice.min(...), dice.max(...)
> diceroll 2d6+3
8
Aliases (3)
Script (1)
Files (3)
25 KB unpacked
Select a script or file on the left to preview it here.