W3cubDocs

/Nushell

random dice for random

Generate a random dice roll.

Signature

> random dice {flags}

Flags

  • --dice, -d {int}: The amount of dice being rolled
  • --sides, -s {int}: The amount of sides a die has

Input/output types:

input output
nothing list<any>

Examples

Roll 1 dice with 6 sides each

>random dice

Roll 10 dice with 12 sides each

>random dice-d10-s12

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/random_dice.html