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 .
×
The developers are currently investigating an issue with logging in + accessing the VTT.
Create a free account

Groupcheck sanitation issue.

I have a macro that I setup that rolls stealth for a character and puts a button at the bottom that then lets them place their stealth roll on their token as a status.  My problem is that its an open query and it asks for them to fill in the field before they know what they rolled.  So naturally, I assumed that the api is somehow using an apichat button, so I followed the rules for apichat buttons and escaped the questionmark with html.  When I do this, the roll happens, and the button is created, but now when I click that button it does nothing.  I have no clue if this is just not possible or what? !group-check --public --hidename --showaverage --ro roll2 --Stealth --process --button SetStealth !fly =-?{What you rolled.}
I was able to get around this issue by doing the following code instead, though I wish it was all in the single group check message: /w @{selected|character_name} [Set Stealth](!token-mod --set tooltip#?{What you rolled.}) !group-check --public --hidename --showaverage --ro roll2 --Stealth