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 .
×
Create a free account

Fillable Macros

Is there a way to fill in the blanks in a macro? So for example I want to pull up a form that has d4, d6 and d8 listed. I want a box before that to popup with a space before each dice where I can put in a number and have it roll that many dice. Is that even possible? Does that make any sense? Thanks in advance, Mike
1662652298
Kraynic
Pro
Sheet Author
So, something like this? [[?{Number of dice?|1}d?{Sides?|4|6|8|12|20}]]
That is pretty close! What I was looking for was similar but would have multiple blank text boxes before different dice numbers. So when I hit submit, it would roll all the dice that have a value. [ # ] d4, [ # ] d6, [ # ] d8, [ # ] d10, [ # ] d12
1662653853

Edited 1662654270
Kraynic
Pro
Sheet Author
You could do that all in one.  Your queries would have to all be different though, so that you could roll a different number of each die. **D4:**[[?{Number of d4?}d4]],**D6:**[[?{Number of d6?}d6]],**D8:**[[?{Number of d8?}d8]],**D10:**[[?{Number of d10?}d10]],**D12:**[[?{Number of d12?}d12]] You could also make it a little more presentable in a roll template.  Not sure what templates might be available in the games you run other than the default. &{template:default} {{name=Dice Chart}} {{D4=[[?{Number of d4?}d4]]}} {{D6=[[?{Number of d6?}d6]]}} {{D8=[[?{Number of d8?}d8]]}} {{D10=[[?{Number of d10?}d10]]}} {{D12=[[?{Number of d12?}d12]]}}
That's perfect! Thank you very much, this is what I was looking for! Now to try to make that work for the star wars dice. Thanks again!
!eed ?{Purple Dice?}p ?{Red Dice?}r ?{Black Dice?}blk ?{Blue Dice?}b