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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Nested Macros: How do you avoid new line?

TL;DR: How can I avoid having each call of a macro make a new line? I've used Roll20 for a while now, but I've been using it off and on. In the past I could have a nested macro that looks like such: #Rapier: #R-Att for #R-Dmg where #R-Att is the attack roll, and #R-Dmg is the damage roll. It would all display neatly on a single line. For example: "[25] for [5] damage" where the [#] represents the roll result. However, when I tried this again recently, every call of a different macro creates a new line. As such, I now see: "[25] for [5] damage" This is a pain when I have a full attack that rolls multiple attacks. Instead of showing two attacks on two separate lines, I now have the following for my rogue: "[25] for [6] damage + [5] precision [22] for [3] damage + [2] precision" and so many lines make a total mess in the chat. How can I avoid having each call of a macro make a new line?
Odd. I just went back to an old Roll20 game and checked the macros there, and they worked fine. Does anyone know why in this case the lines would be broken?
Ugh, I figured out my own question. When pasting into Roll20's Macros, an extra "return" is left, which causes line breaks. Thus every time a macro is called, it ends with a "return," which is what broke my lines. Well, I hope this helps someone else.
1529916056
Ziechael
Forum Champion
Sheet Author
API Scripter
This happens more often than you'd think ;) Thanks for updating your post so that it might help others in the future though :)