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

Help with Custom Macros

I'm trying to get this macro to work: &{template:5eDefault} {{spell=1}} {{title=Charms Spell}} {{showclassactions=1}} {{rollname=Roll vs DC}} {{roll=[[1d20]]}} {{rollname=DES}} {{roll=Novice [[1d4]]}} However, every time I test it. It will only show the title and the part for {{rollname=DES}} {{roll=Novice [[1d4]]}}. I want both rollname and rolls to show up on separate lines in the chat, but I have no idea why it's skipping one and showing only the second. I've been up and down the wiki and tried various things I thought might work, for example semicolons, {{br}}, etc.... Any help is appreciated.
1434320336
Lithl
Pro
Sheet Author
API Scripter
Templates work on a key=value syntax. You're seeing problems because you're using duplicate keys.
No way to separate them then? Mark them as similar but different?
1434326554
Spren
Sheet Author
You could seperate them like this: &{template:5eDefault} {{spell=1}} {{title=Charms Spell}} {{showclassactions=1}} {{Roll vs DC=[[1d20]]}} {{DES= Novice [[1d4]]}}
Thank you.