Hey everyone, I started messing with more advanced macros a few days ago, and I am trying to create a macro with will show a API Command Button (https://wiki.roll20.net/API:Chat#API_Command_Buttons) which when clicked will show a Roll Template (https://wiki.roll20.net/Roll_Templates). I suppose it should be something like this:
[Normal Hit](! &{template:default} {{name=Attack!}} {{Slashing= [[d6+3]] }} {{Necrotic= [[d8]]}})
But the above just shows the template with the button appearing. I suppose could do with two different macros, one for the button and other for the template, but I'd rather get it all in a single place. I haven't found any examples of it being done after searching for a couple hours, sorry if this has been asked before.