
Hi,
So I'm trying to create roll button on a character sheet that puts an api command output into part a the roll template, i.e. something like:
<button type="roll" value="&{template:basicroll}{{name=@{character_name} }} {{roll=!apicommand }}" name="roll_basic">Roll Button</button>
Is something like that even possible? If not, is there a way to call a macro that would set off the command or is there some better way I should be approaching this?