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

Formatting text in chat from macro

March 22 (9 years ago)
Hello again

just a question : is there a method to format the background color of a text in the chat box directly from a macro written in the ability tab ?

I'd like, for example, start and end my macro with an empty red bar in the chat. 
For the moment, i'm just locked with the /desc /em of the basic formating and i not able to change the background color of a text...
Perhaps you could write a roll template that formats your text the way you want. Your macro would be &{template:mytemplate} {text=Text I want to format}. If you want to vary the text each time, put a roll query in the macro: &{template:mytemplate} {text=?{Text}}.
March 22 (9 years ago)
Greetings Gwen - While not red (they're Purple), it sounds like Roll Templates are what you are looking for. Check out that wiki link - the first section will tell you how to use Roll20's built in Roll Template. You'll be able to add the info to your Macro when you set it up and it will roll in chat with a purple box. There are also some additional options available to Pro users listed on the wiki - Pro users can create their own Roll Templates and the instructions to do so are also found in that wiki.
March 22 (9 years ago)
Thanks a lot !!
i'm on the wiki since few days and never click on the "roll templates" page...  ^_^
it's actually just i'm looking for !