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

Success macro w/ Variable

I am trying to make a macro that will take a number of dice of different size and return back how many roll 4 or greater: /roll {d6, d6, d8, d8, d8}>4 as an example, but I am also trying to include a variable in it. As the dice listed would always remain the same but there may be a die within that changes.  How would I go about doing that?
1577046918
GiGs
Pro
Sheet Author
API Scripter
If you want one of the dice to change, you can use a query. I think /roll {d6, d6, d8, d8, 1d?{die size|8}}>4 should work.
Perfect, exactly what I needed.
1577048988
GiGs
Pro
Sheet Author
API Scripter
great :)