Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
"Ask for die size" Var=X "Roll 1d"X [[1dX]] How would I do this? Ask for die size, then roll 1 die of that size, and output what die size it was.
Roll Queries are what you want. <a href="https://roll20.zendesk.com/hc/en-us/articles/360037773133-Dice-Reference" rel="nofollow">https://roll20.zendesk.com/hc/en-us/articles/360037773133-Dice-Reference</a>
Or to limit the die choice to the standard ones and provide a default number of dice to roll but have that as a variable too: /roll ?{How Many Dice|1}d?{What Die Size?|4|6|8|10|12|20|100}