
I have been playing with chat menus and read in this old post(quoted below) that it is possible to post a simple Roll Command to the API button but am having trouble with the syntax. The code below navigates me out of the Roll twenty App [Roll a D12]([[1d12]]) Note also, that you can embed a Roll Command into the API button
instead of a macro, if you simply have a bit of code you use over and
over, but a better practice (at least I have found) is to keep as much
code in macros as possible, so that if you use the same command in
different places, you only have to edit the original if you later decide
to change how something works. If it's just an API call (a script call,
beginning with "!"), it's pretty safe to pop in as-is.