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

Drop-Down Prompt Reference for OGL Roll Templates

Is there a command that references the drop-down prompt for roll queries? Example. I have created a saving throw macro and the drop-down prompt contains the following Strength Dexterity Constitution Intelligence Wisdom Charisma Let's say I chose Constitution. I want to the selection to also appear as the rname (rname= "Constitution" Save) in my OGL roll template. I was hoping there might be a reference command like rname = "insert selection" Save
1592335700
The Aaron
Roll20 Production Team
API Scripter
There isn't.  The best You could do would be to name your query value in such a way that you get a label: ?{Stat|Constitution,@{selected|constitution} [Constitution]}
Thanks, I didn't see a #ref or anything either but I thought I would check.
1592383416
Ziechael
Forum Champion
Sheet Author
API Scripter
You can, with some effort, have a variable macro but it will require some html replacement characters, if you post your current saving throw macro I'll show you how it can be done for you to reverse engineer.