Roll (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
==Slash command==
==Slash command==
{{SlashCommandArticle|command=roll|options=parameter|note=Displays a random number within the specified range in the Emote chat channel.}}
{{SlashCommandArticle|command=roll|options=parameter|note=Displays a random number within the specified range in the Emotes chat channel.}}


* '''Parameters''' = 1-100,000, "d", or "x".
* '''Parameters''' = 1-100,000, "d", or "x".

Latest revision as of 08:14, 30 December 2022

Slash command

/roll parameter

Displays a random number within the specified range in the Emotes 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