Skip to main content

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}"
}

Metadata

Release files for plover-roll-the-dice 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plover-roll-the-dice 0.1.0
File Size Uploaded Provenance
plover_roll_the_dice-0.1.0.tar.gz 4.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for plover-roll-the-dice 0.1.0
File Interpreter ABI Platform
plover_roll_the_dice-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / plover_roll_the_dice-0.1.0.tar.gz

Download URL plover_roll_the_dice-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
96e50e543e0677350936c2fd253e247fb3afdfcbd287136187f150e399694c17
BLAKE2b-256 checksum
How to use checksums
c394511bd46dc0030a554d02217604ca5c96218187a85e945e5d8ff1c4165d5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.9

Release files / plover_roll_the_dice-0.1.0-py3-none-any.whl

Download URL plover_roll_the_dice-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
252d8c336a1e68e5f7d035091e2f3bf7880a47eb7a72f02e05db6bac211a66b7
BLAKE2b-256 checksum
How to use checksums
c3227ce94574a690d9697f7f5669e7813905bed2e64fae19d8947bdb4f6fa537
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.9

Security for plover-roll-the-dice 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page