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

Fallout Terminal Double Brackets

I'm using the Fallout Terminal API Script for my Aliens RPG.  I've got it set up to display all the basic rules.  I recently also added a script for custom rolls and wanted to display the rolling command in my terminal for players to see.  However, the rolling command uses [[double brackets]] and putting those into the API script makes the screen unusable.  Is there any way to get the JSON to display [[double brackets]]?
1726333100
The Aaron
Roll20 Production Team
API Scripter
That's a hard question.  You might be able to use html entities as substitutions.  It might take a few levels depending on what's going on, but try using: [[double brackets]] If that doesn't work you can try further subbing the ampersand: [[double brackets]] You might have to sub the ampersands multiple times depending on how many times it goes through text expansion on it's way to the output.
Tried your solution.  Unfortunately, it just displays it all as raw text.  Thanks for the suggestion, though!
1726428098
timmaugh
Pro
API Scripter
Do they have to be brackets? If they aren't going to process out as rolls, and if your players aren't necessarily going to copy the roll to paste it (and use it)... could you maybe get away with Unicode characters U+27e6 and U+27e7? ⟦ and ⟧ ?
Nope, same issue.  It just displays the raw text.  Thanks, though!
1726802310
timmaugh
Pro
API Scripter
Can you elaborate on what you mean by "displays the raw text"? What does it look like and what do you want it to look like? That might give us a better idea how to help you (or if help is even possible).
Instead of displaying any special characters in the output, it just displays "U+27e6* in the output.  It was the same for the HTML code.