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

[Woot] HTML ASCII Codes work in sendChat()

As the subject says... sendChat("", "[[" + AttackRoll + " + " + AttackBonus + " [Attack Bonus] ]] to hit"); ... works! Just thought I'd share. ^_^
1379654155
Alex L.
Pro
Sheet Author
HoneyBadger said: As the subject says... sendChat("", "[[" + AttackRoll + " + " + AttackBonus + " [Attack Bonus] ]] to hit"); ... works! Just thought I'd share. ^_^ what made you think they wouldnt?
I dunno... I hadn't tried, but I was getting frustrated because I couldn't use single [ ] square brackets in my messages. Then it dawned on my to try the html characters.