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 a dice roll in a query title

Hello everyone I am using a query that I am hoping to use an inline roll in the query title in order to give myself the appropriate context to answer the question. I have effectively the following in my macro: ?{Empower yourself for [[1d4]] points?|Yes,1|No,0} But when I run this, it will not parse the die roll, it will simply print the die roll command as is. Is there a way to get it to parse the value in the prompt?
1632763541

Edited 1632763553
David M.
Pro
API Scripter
According to the Roll20 order of operations , queries are always resolved before inline rolls, so this will not work. 
<a href="https://wiki.roll20.net/Dice_Reference#Order_of_Operations" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Order_of_Operations</a> Unfortunately queries are resolved before inline dice rolls, so there's no way to get the die roll to resolve in the same macro.