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

Drop Down Dice Roller Macro

I'm working on making a drop down macro for dice rolling without stat/skill/mod context, such as when a GM says, "Roll a d20 for me" and I have one that works for public rolls, but I wanted to make either a separate one for private GM only rolls or somehow nest it so when I select which # sided die I'm rolling, it asks if it's public or private and then works it accordingly, but as of right now, I can't get any GM only roll to work in the macro. For reference, here is my current drop down macro for the public rolls: ?{Rolling?|D-20, [[1d20]]|D-4, [[1d4]]|D-6, [[1d6]]|D-8, [[1d8]]|D-12, [[1d12]]|D-100,[[1d100]]} If anyone is also skilled enough to set it up where it asks how many sides I should roll and auto calculates that, then asks if it should be public or private, you'd get the most brownie points.
1474521843

Edited 1474521950
Try this out: ?{Roll|Public, |Private,/w gm} Rolling ?{Number|1}?{Type|D20|D4|D6|D8|D12|D100}: [[ ?{Number}?{Type} ]]
1474611501
Andrew C
Marketplace Creator
Oooooh pretty.
1474632207
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Silvyre said: Try this out: ?{Roll|Public, |Private,/w gm} Rolling ?{Number|1}?{Type|D20|D4|D6|D8|D12|D100}: [[ ?{Number}?{Type} ]] Put the space for the public option inside asterisks or use   to get it to display properly. Unless you want public to appear in the roll.
Scott C. said: Silvyre said: Try this out: ?{Roll|Public, |Private,/w gm} Rolling ?{Number|1}?{Type|D20|D4|D6|D8|D12|D100}: [[ ?{Number}?{Type} ]] Put the space for the public option inside asterisks or use   to get it to display properly. Unless you want public to appear in the roll. That's not the case.
1474663262
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
huh, so it isn't. Could'a sworn I was running into that problem with another dropdown I was working on
Thanks so much Silvyre!  Works like a dream.  :)
Great!