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

Whisper character sheet notes to GM where there's a line break

Hi wise sages I set up a macro to whisper notes from a token to me, so I could check bad guy notes mid combat. However, the notes field I have used is a textarea.  When I use /w GM @{selected|notes} The first line of the notes is Whispered but the subsequent lines are just sent to the chat - everyone can see them.  Is there a fix for this please? Your expert lore as ever much appreciated :)
1622031002

Edited 1622031269
Ziechael
Forum Champion
Sheet Author
API Scripter
You should be able to get around that by using a template: /w gm &{template:default} {{name=Notes}} {{@{selected|notes}}} ^^that will be right aligned and in bold, for left aligned and non-bold: /w gm &{template:default} {{name=Notes}} {{&nbsp=@{selected|notes}}} Or wrapping the attribute call in double curly braces: /w GM {{@{selected|notes}}}
1622031038
The Aaron
Roll20 Production Team
API Scripter
Check out the API script SuperNotes:&nbsp; <a href="https://app.roll20.net/forum/permalink/8293909/" rel="nofollow">https://app.roll20.net/forum/permalink/8293909/</a>
That works nicely! Thank you, I should have tried that&nbsp; Ziechael said: You should be able to get around that by using a template: /w gm &amp;{template:default} {{name=Notes}} {{@{selected|notes}}} ^^that will be right aligned and in bold, for left aligned and non-bold: /w gm &amp;{template:default} {{name=Notes}} {{&amp;nbsp=@{selected|notes}}} Or wrapping the attribute call in double curly braces: /w GM {{@{selected|notes}}}