Roll (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
* 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.


*This command was first introduced by Homecoming in [[Issue 27 Page 4]].


==Examples==
==Examples==

Revision as of 06:42, 10 September 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