Hi, I am new to API scripting, and I am kind of stuck on the basics here. Let me outline what I want real quick. I have a Wild Magic Sorcerer, and I am trying to make his gameplay with the Wild Magic Surge Table as easy as possible. So what I would like is a Macro that he can run, that will give a command. That command will essentially roll a d20, check if its a 1, display the result regardless, and then add on a roll of the Wild Magic Table if the result is a 1. My idea was basically to have the script create a trait template output the info, using the template below. (Mocked up for general idea of use) &{template:traits} {{name=Wild Magic Check}} {{source=Character Building}} {{description= Rolling Wild Magic Surge: [[1d20]] Wild Magic Table Roll if 1}} I like the way this looks and I use it for a lot of my macros, so having this be the intended output would be amazing. Really I guess my question is, how do I craft output like this to display how I want? The actual logic of rolling and checking for a 1 is the easy part. I just need to know how to output right.