Roll (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(Created page with "==Slash command== {{SlashCommandArticle|command=roll|options=parameter|note=Displays a random number within the specified range in the System chat channel.}} * '''Parameters'...")
 
No edit summary
Line 6: Line 6:
* The command can also be used to simulate rolls of multiple dice by specifying how many dice and how many sides are on each die. For example, <code>4d20</code> would mean 4 dice with each die having 20 sides. Alternately, an "x" can be used in place of the "d". For example, <code>4x20</code> also means 4 dice with 20 sides each.
* The command can also be used to simulate rolls of multiple dice by specifying how many dice and how many sides are on each die. For example, <code>4d20</code> would mean 4 dice with each die having 20 sides. Alternately, an "x" can be used in place of the "d". For example, <code>4x20</code> also means 4 dice with 20 sides each.
* The command accepts dice inputs up to 100 dice with 100,000 sides.
* The command accepts dice inputs up to 100 dice with 100,000 sides.
* Using {slashcommand|roll}} with no parameters will return a random number between 1 & 20; A single twenty-sided die roll.
* Using {{slashcommand|roll}} with no parameters will return a random number between 1 & 20; A single twenty-sided die roll.





Revision as of 23:41, 25 August 2022

Slash command

/roll parameter

Displays a random number within the specified range in the System chat channel.

  • Parameters = 1-100,000, "d", or "x".
  • Using a single number will roll a random number between 1 and the specified number.
  • The command can also be used to simulate rolls of multiple dice by specifying how many dice and how many sides are on each die. For example, 4d20 would mean 4 dice with each die having 20 sides. Alternately, an "x" can be used in place of the "d". For example, 4x20 also means 4 dice with 20 sides each.
  • The command accepts dice inputs up to 100 dice with 100,000 sides.
  • Using /roll with no parameters will return a random number between 1 & 20; A single twenty-sided die roll.


Examples

/roll
/roll 8
/roll 4d20