Forrest logo
back to the roll tool

roll:tldr:c7755

roll: Roll 2 12-sided dice 2 times and show every roll.
$ roll --verbose ${2{2d12}}
try on your machine

The command "roll --verbose ${2{2d12}}" is used to perform a dice roll simulation with verbose output, utilizing two sets of 2 twelve-sided dice.

Breaking it down step by step:

  • "roll" is the command or program being executed.
  • "--verbose" is an optional flag that specifies verbose output, meaning the program will provide more detailed information or feedback during the dice roll simulation.
  • "${2{2d12}}" is the expression representing the dice roll simulation.

Now let's delve further into "${2{2d12}}":

  • "${2 ... }" indicates repetition of the enclosed expression.
  • "{2d12}" represents rolling two twelve-sided dice. "2d12" follows the standard notation for dice rolls, where "2" represents the number of dice, and "d12" stands for a twelve-sided die.

Combining the two repetitions, "${2{2d12}}" means rolling two sets of two twelve-sided dice.

Overall, executing the command will simulate rolling four twelve-sided dice and provide detailed verbose output regarding the results.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the roll tool