pyplanet-roll-dice 1.1.1

Creator: codyrutscher

Last updated:

Add to Cart

Description:

pyplanetrolldice 1.1.1

Roll Dice
A plugin for PyPlanet.
This plugin allows you to simulate dice rolls.
Installation
Install or update to the latest version with the following command
python -m pip install --upgrade pyplanet-roll_dice

Add the following to your pyplanet apps.py
'skybaks.roll_dice',

Commands



Command
Description




/roll die
Use this command to simulate a dice roll. If the 'die' argument is omitted a 1d20 die will be rolled. The die argument can be any 2 integer numbers separated by the letter 'd'. The first number indicates the number of dice to roll and the second number indicates the max value of the die to roll.



Examples of commands:
$> /roll

Player rolls 1d20...
Dice: 19 Total: 19

$> /roll 2d6

Player rolls 2d6...
Dice: 1, 4 Total: 5

$> /roll 3d8

Player rolls 3d8...
Dice: 8, 6, 3 Total: 17

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.