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 for a rollable table. Output in chat has overlapping text when text needs to wrap.

I use the following command in a macro [[1t[CriticalHitEffects]]], this returns output from a rollable table. The output in chat has a yellow background and the wrapped text overlaps with the bottom of the previous line. Is there anyway to fix either of these things, i.e. no yellow background and/or no overlap.  Thanks
1661258642
Shey L'Ours
Pro
Sheet Author
Dunno if it can help you in anyway, but I fall in love with ScriptCard on my side, it can help you to display your things as you wish. You can review colors & fonts as you want. <button type="roll" name="roll_CriticalHitEffects" value=" !script {{    --#oddRowBackground|#ffffff    --#evenRowBackground|#ffffff    --#title|Critical Hit    --#leftsub|@{character_name}    --#rightsub|Special Effect    --+|[[1t[CriticalHitEffects]]]}}"></button>
You can embed the table roll in a template. This uses the 5e character sheet roll template but you can adapt to the default template or whatever: &{template:traits}{{name=Critical}}{{source=Critical Hit Table}} {{description=[[1t[CriticalHitEffects]]]}} Steve Z. said: I use the following command in a macro [[1t[CriticalHitEffects]]], this returns output from a rollable table. The output in chat has a yellow background and the wrapped text overlaps with the bottom of the previous line. Is there anyway to fix either of these things, i.e. no yellow background and/or no overlap.  Thanks
This worked great. Thanks