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

Quick and (Hopefully) easy question!

Creating a Macro.. How do I output one command on two lines without issuing a second command? Using /desc in this case.. I need to know how to insert a line break. ``` /desc It's currently @{time_hours}am - @{date_month} @{date_day} /desc @{weather_weather} - @{weather_temp} degrees ``` Can I do that with only one /desc, while making sure the @weather part shows up on a separate line? Thanks!
1506536745

Edited 1506536855
It's not normally possible to use line breaks within /commands, but it is possible to use Roll Templates to this effect. e.g. /desc &{template:default} {{name=It's currently @{time_hours}am - @{date_month} @{date_day}}} {{Weather=@{weather_weather} - @{weather_temp} degrees}} /desc &{template:default} {{It's currently @{time_hours}am - @{date_month} @{date_day} @{weather_weather} - @{weather_temp} degrees }} You might also try removing the /desc to see if you prefer the output better that way.
Thanks Silvyre! The default roll template looks great for what I was trying to do. 
1506544957
Lithl
Pro
Sheet Author
API Scripter
API scripts (and custom rolltemplates) are capable of sending a subset of HTML to the chat, which can include <br>. Both API scripts and creating your own custom rolltemplates would require a Pro subscription, though.