Forrest logo
back to the rolldice tool

rolldice:tldr:70d07

rolldice: Roll two 20 sided dice and add a modifier value.
$ rolldice ${2}d${20}${+5}
try on your machine

This command uses the "rolldice" function or command to simulate rolling a certain number of dice with a specific number of sides and an optional additional value.

  • "${2}" indicates that you are rolling 2 dice. The number within the curly braces represents the quantity of dice you want to roll.

  • "d" is a shorthand notation used in gaming for indicating dice. In this case, it signifies that the dice have 20 sides. The number after "d" tells us the number of sides on each die.

  • "+5" is an optional addition to the result. The plus sign signifies adding a value after rolling the dice. In this case, 5 is added to the final result of rolling the dice.

For example, if we assume the command is executed: "rolldice 2d20+5", it will simulate rolling two 20-sided dice and then add 5 to the total result. The output will provide a random number within the range of 7 to 45 (if both dice roll the lowest possible value, 1, and the additional 5 is considered).

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 rolldice tool