
I wrote an script that will roll for a random action (from a pre-defined table) to take place when someone critically fails. In order to format the output nicely I wrote my own Roll Template, of course this means I manually copied in the 5e Character sheets. Now another DM wants to use the script, but doesnt want to have to manually handle his character sheets. So the question is, how can I output a message to chat that has html elements and styling...without using Roll Templates? Or is there an API for defining a Roll Template from script?