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

Macro adding horizontal line

I have this macro but when I run it, it repeats my name and adds a horizontal line.

ive seen this before in chat but I dont know what forces this horizontal line? and a repeat of the name?



/w gm &{template:degault} [[{{rname=Group Resources}} {{description= **Rango Salmoella**

Rango

HD: **@{Rango Salmoella|hit_dice}** | HP: **@{Rango Salmoella|hp}** |MaxHP @{Rango Salmoella|hp|max})  AC: **@{Rango Salmoella|ac}**

***Spells***

DC: **[[8 + @{Rango Salmoella|pb} + @{Rango Salmoella|wisdom_mod}]]** | Prepared: **[[@{Rango Salmoella|wisdom_mod} + @{Rango Salmoella|caster_level}]]**

Level 1 Slots: **@{Rango Salmoella|lvl1_slots_expended}** / @{Rango Salmoella|lvl1_slots_total}

Level 2 Slots: **@{Rango Salmoella|lvl2_slots_expended}** / @{Rango Salmoella|lvl2_slots_total}

Level 3 Slots: **@{Rango Salmoella|lvl3_slots_expended}** / @{Rango Salmoella|lvl3_slots_total}

Level 4 Slots: **@{Rango Salmoella|lvl4_slots_expended}** / @{Rango Salmoella|lvl4_slots_total}

***Resources***

@{Rango Salmoella|class_resource_name}: **@{Rango Salmoella|class_resource}** / @{Rango Salmoella|class_resource|max}

@{Rango Salmoella|other_resource_name}: **@{Rango Salmoella|other_resource}**

February 13 (3 years ago)
degault should be default.  
February 13 (3 years ago)

As DM Eddie says, you mispelled 'default', so the roll is not being put into a roll template.  Chat messages from a single player that are not in a roll template will add a line break every so often (it appears every 6 lines). You also have an extra pair of opening brackets (before the rname field), and are missing a set of closing double braces at the very end. That's just what I see at a quick glance.

Depending on what game you are playing, and which character sheet template you are using, you could likely use a different template as well, such as the 'npcaction' template for the 'D&D 5E by Roll20' character sheet template.

Assuming everything else is correct:

/w gm &{template:default} {{rname=Group Resources}} {{description= **Rango Salmoella**
Rango
HD: **@{Rango Salmoella|hit_dice}** | HP: **@{Rango Salmoella|hp}** |MaxHP @{Rango Salmoella|hp|max})  AC: **@{Rango Salmoella|ac}**
***Spells***
DC: **[[8 + @{Rango Salmoella|pb} + @{Rango Salmoella|wisdom_mod}]]** | Prepared: **[[@{Rango Salmoella|wisdom_mod} + @{Rango Salmoella|caster_level}]]**
Level 1 Slots: **@{Rango Salmoella|lvl1_slots_expended}** / @{Rango Salmoella|lvl1_slots_total}
Level 2 Slots: **@{Rango Salmoella|lvl2_slots_expended}** / @{Rango Salmoella|lvl2_slots_total}
Level 3 Slots: **@{Rango Salmoella|lvl3_slots_expended}** / @{Rango Salmoella|lvl3_slots_total}
Level 4 Slots: **@{Rango Salmoella|lvl4_slots_expended}** / @{Rango Salmoella|lvl4_slots_total}
***Resources***
@{Rango Salmoella|class_resource_name}: **@{Rango Salmoella|class_resource}** / @{Rango Salmoella|class_resource|max}
@{Rango Salmoella|other_resource_name}: **@{Rango Salmoella|other_resource}**}}

thanks!

February 14 (3 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

Also, I think you're meaning to use the 5e roll template (or a specific system's template at the very least), because neither the description or rname fields are treated specially by the default template.