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 .
×

Using roll result as a variable.

I'm not really sure whether or not this should go here, but I was wondering is there was a way to make it so that you could use a dice roll to determine how many dice are rolled? For Example: Rolling 1d4 d6s
1456484764

Edited 1456484916
Ziechael
Forum Champion
Sheet Author
API Scripter
Hi Terrance, using a nested inline roll you can totally do this, and more! [[ [[1d4]]d6]] (note the lack of a gap between the 1d4 inline roll and the d6 die size element. For further reading I highly recommend becoming familiar with the  dice reference and  basic macros pages from the  wiki , while there is always a learning curve for these things I found that they really helped in the early days :)
Ziechael said: Hi Terrance, using a nested inline roll you can totally do this, and more! Gah! I feel like such an idiot for not thinking of that, thanks man. :)
1456485326
Ziechael
Forum Champion
Sheet Author
API Scripter
Not a problem, everything is simple once you know how to do it... I daren't even look at some of my early posts ;) Happy rolling!