
There's an example on creating a handout here: https://wiki.roll20.net/API:Cookbook#Creating_a_Ha...
But I can't seem to find a way to create a simple handout based on a macro I've created. The macro looks like:
Also, is it possible to concatenate the results from the two tables? Right now it shows at two separate results next to each other.
But I can't seem to find a way to create a simple handout based on a macro I've created. The macro looks like:
!power {{ --format|default --name|World Profile --Name|~C[[ t[first-name] ]] [[ t[second-name] ]]~C --Starport|~R[[ t[starport] ]]~R --Size|~R[[ 1t[size] ]]~R --Atmosphere|~R[[ 1t[atmosphere] ]]~R --Hydrographics|~R[[ 1t[hydrographics] ]]~R --Population|~R[[ 1t[population] ]]~R --Government|~R[[ 1t[government] ]]~R --Law|~R[[ 1t[law] ]]~R --Tech|~R[[ 1t[tech] ]]~R }}The goals is to add a line or script somehow that would split the output to the chat channel and create a handout with the results and name the handout per the --Name parameter on line 4.
Also, is it possible to concatenate the results from the two tables? Right now it shows at two separate results next to each other.