mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
455 B
Plaintext
26 lines
455 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rolldice
|
|
|
|
> Roll virtual dice.
|
|
> More information: <https://manned.org/rolldice>.
|
|
|
|
- Roll a single 20 sided dice:
|
|
|
|
`rolldice d{{20}}`
|
|
|
|
- Roll two six sided dice and drop the lowest roll:
|
|
|
|
`rolldice {{2}}d{{6}}s{{1}}`
|
|
|
|
- Roll two 20 sided dice and add a modifier value:
|
|
|
|
`rolldice {{2}}d{{20}}{{+5}}`
|
|
|
|
- Roll a 20 sided dice two times:
|
|
|
|
`rolldice {{2}}xd{{20}}`
|