Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Two "value" on a single "button" is possible?

1500648664
Daniel "SDM" R.
Marketplace Creator
Two "value" in a single "button" is possible? I wanted to put the two buttons below in a single <button type='roll' name='roll_arma1' value='&{template:default} {{name=Ataque @{nomearma1} @{arma1}}} {{Sucessos=[[{5d4}>3+@{arma1}]]}}'></button> <button type='roll' name='roll_arma1' value='!ammo @{selected|character_id} municao1 -1'></button>
1500650856
Marco M.
KS Backer
Sheet Author
API Scripter
Compendium Curator
Hi Daniel, you want 2 outputs with a single button? You can use the roll template. I roll 2d10 to make a fake percentile die in my Delta green character sheet. Just create a template that handle the two results. you can check the css and HTML in the COC 7th edition character sheet on gihhub or in mine on gist&nbsp;<a href="https://gist.github.com/uriele/6586061dc0501dbfc8f7c29951ecbf1e" rel="nofollow">https://gist.github.com/uriele/6586061dc0501dbfc8f7c29951ecbf1e</a>