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 .
×
Our team is currently investigating rolling service outages. For more information, visit our most recent Forum Announcements post.
Create a free account

"Pipe" Character in Query saved as HTML, Then swaps back to break? Using Token Mod

When using the following code to change a Spell AOE on a rollable table it works fine, sets the token to the desired side, and resizes. Then I hit save, and the HTML code for the | character saves as the character, breaking the macro again. Is this a Macro bug? A Token Mod bug? How would I go about fixing this? ?{Which Spell? |Alarm,!token-mod --set currentside#1 width|280 height|280 |Antilife Shell,!token-mod --set currentside#2 width|280 height|280 |Antimagic Field,!token-mod --set currentside#3 width|280 height|280 |Arms of Hadar,!token-mod --set currentside#4 width|350 height|350 |Aura of Life,!token-mod --set currentside#5 width|840 height|840 |Aura of Purity,!token-mod --set currentside#6 width|840 height|840 |Aura of Vitality,!token-mod --set currentside#7 width|840 height|840 }
1661485111
The Aaron
Roll20 Production Team
API Scripter
You can use just a # as an alternative to | for just this reason. So everywhere you have |, just put # and it should work. 
You are a Gentleman and a Scholar Aaron, Thank you!
1661490153
The Aaron
Roll20 Production Team
API Scripter
Lol, no problem. Roger Zelazny fan, perchance?  =D
Never read his works, but I have no doubt I've read works influenced by him!
1661532685
The Aaron
Roll20 Production Team
API Scripter
=D  The protagonist in the first 5 books uses that phrase at one point.  I've not really heard it other places, though I suppose it was common at some point and perhaps that's why it's in the books. =D
1661533649
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That's an old, old phrase. I usually hear "scholar and a gentleman" in that order, though.
1661567709
Oosh
Sheet Author
API Scripter
I have a feeling you've probably heard it more often than most people, Keith, with your helpful disposition and impressive collection of years.
Yes, it's an old phrase. I used to hear it frequently during the 70's but it is a lot older than that.