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

Make a rollable table prettier?

1694965364

Edited 1694965402
I have a rollable table with all the options for an expanded wild magic table. Then a macro to whisper one randomly to GM. Is there a way to make it look nicer than this without using api? Like remove the 1[WildMagic] and the brackets? The macro i am using is "/gr 1t[WildMagic]".
1694966126

Edited 1694966266
You can embed the table roll in a template. Doesn't make things look great but it's probably better than the bare roll result. This uses the 5e character sheet roll template but you can adapt to the default template or whatever: &{template:traits}{{name=Wild Magic}}{{source=Whatever}}{{description=[[1t[WildMagic]]]}}
1694966544

Edited 1694966568
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi James! There are a couple of ways off the top of my head. The simplest is to change it into an inline roll: /w gm [[ 1t[WildMagic]]] Or you can get even prettier by putting it into a Roll Template. Since this is likely 5e given the setup, this should work: /w gm &{template:npcaction} {{rname=Wild Magic}} {{description=[[1t[ WildMagic ]]]}}
Hey, thanks for the repsonses guys. I dunno what i'm doing wrong but these only bring up the number rolled then you need to hover over it to see what it is, is there a way for it to just display the rolled result?
For some reason (bug? intentional?) if you have a table entry that begins with a number, that's all that is read into the roll template. If you get rid of the number at the beginning of the text, or surround it with parens or something, the entire entry is displayed.
1694972874
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This is true. Rollable tables were built with some very specific parameters, and the whole system really needs an overhaul.
Oh boy, that is a lot of entries i have to change xD, the more you know. Thankyou eveyrone.
Since you have a Pro subscription, I would suggest looking at using the TableExport script to add/change your rollable tables. It's easy to build the code in Excel/Sheets and update the tables that way.
I encounter this problem before, what I did was install recursive table and add !rt at the beginning of the template and work again.