← All packages

dice

Simulate dice rolls with these simple functions.

Download .mpackage
Version
1
Author
Zooka
Created
29 Jun 2024
Updated
29 Aug 2024

Install from Mudlet's command line

mpkg install dice

Mudlet 4.20+ with mpkg installed

Or drag it in

Drag into MudletDrop it on the main window

Mudlet 4.11+ · click to download instead

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.