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

[script] Supernotes - seems to filter out '{' and '}'

1655042920

Edited 1655042962
as above, when i use this script to pull the details of a trap into chat it removes the '{', '}' and '@' characters meaning info pulled from token bars isn't showing: A giant swinging rusty blade drops in front of them. Take [[3d6+@{selected|bar1}]] slashing damage, on a successful DC[[1d6+13]] dexterity save, take half damage. Everything works except the "[[3d6+@{selected|bar1}]]" which becomes "[[3d6+selected|bar1]]", not sure why this is happening, sure i'm just doing soemthing stupid but soem help would really eb appreciated.
1655064725
Andreas J.
Forum Champion
Sheet Author
Translator
you could try using <a href="https://wiki.roll20.net/HTML_Entities" rel="nofollow">https://wiki.roll20.net/HTML_Entities</a> and see if things work out for the characters that go missing.
1655078148
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I will look into it when I have the chance, but right now I am travelling. And by "look into it" I mean look at it, scratch my head and if I don't see something obvious, go crying to someone like the Aaron or Scott C for help...
Andreas J. said: you could try using <a href="https://wiki.roll20.net/HTML_Entities" rel="nofollow">https://wiki.roll20.net/HTML_Entities</a> and see if things work out for the characters that go missing. tried this, the brackets do now show but it still doesn't actually get the info from bar1