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:1:100} |
Get a random integer in the provided range (in this example, from 1 to 100, inclusive). |
{:roll:choice:option1:option2:etc} |
Randomly write a choice from the options provided (in this example, option1 , option2 , and etc ). Spaces are allowed and the word will respect the current capitalization state. |
{: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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e50e543e0677350936c2fd253e247fb3afdfcbd287136187f150e399694c17 |
|
MD5 | 9cd753a6582c39d3f13e59bada154f23 |
|
BLAKE2b-256 | c394511bd46dc0030a554d02217604ca5c96218187a85e945e5d8ff1c4165d5d |
Close
Hashes for plover_roll_the_dice-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252d8c336a1e68e5f7d035091e2f3bf7880a47eb7a72f02e05db6bac211a66b7 |
|
MD5 | 61397363fa32c1e112c890b15adfba70 |
|
BLAKE2b-256 | c3227ce94574a690d9697f7f5669e7813905bed2e64fae19d8947bdb4f6fa537 |