Plover text macros to roll dice, flip a coin, and take chances.
Project description
Roll the Dice
Plover text macros to roll dice, flip a coin, and take chances.
Installation
Install from the Plover plugins manager.
Usage
Meta / Macro Name | Description |
---|---|
{:roll:range:0:100} |
Get a random integer in the provided range. |
{:roll:choice:option1:option2:etc} |
Randomly select a choice from the options provided. |
{:roll:d6} |
Roll a six-sided die. You can replace "6" with any positive whole number. Equivalent to {:roll:range:1:6} . |
{:roll:d10} |
Roll a 10-sided die. Equivalent to {:roll:range:0:9} . |
{:roll:d20} |
Roll a 20-sided die. Equivalent to {:roll:range:1:20} . |
{:roll:coin} |
Flip a coin. Equivalent to {:roll:choice:heads:tails} . |
{:roll:8ball} |
Ask the Magic 8-Ball a question. |
Examples
You can mix these metas into your text.
{
"RO*L": "I roll a d20... the result is {:roll:d20}",
"KO*EUPB": "Heads or tails? {:roll:coin}!",
"SAO*UR": "{:roll:choice:yep:sure:okay:fine by me}"
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for plover_roll_the_dice-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66bbe00d451d7422768f992cd01c01bfada726d723146cb5254f78fb6ad7070d |
|
MD5 | 4b57639574ac85a1d824a0d918fab0d9 |
|
BLAKE2b-256 | e2db98128ddd86dd6bc1580945e9127d267cb4c5f9faeb21cec8438a3a455429 |
Close
Hashes for plover_roll_the_dice-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f74125aa4c740afc4470f463c92bad1f0f6ebbf7612814dead34ece19735330 |
|
MD5 | 087cc5ca9b30dd49069847cbbd21c0ca |
|
BLAKE2b-256 | ecc40abce6f9a1684a1f1d9efaa2318d921d9cf9a3c310051cfa590b9fad9260 |