I am trying to learn to set up macros. How would I set up a character sheet macro to press the highlighted button? It is on the combat tab of the sheet which is the 4th tab over if that matters. This is also a repeating line that could have multiple entries. I've seen some tutorials for 5th edition sheets but I can't figure out how to do it on this one. Thank you. Link to source code. <a href="https://github.com/allenmaher/roll20-character-sheets/tree/master/D%26D_BECM" rel="nofollow">https://github.com/allenmaher/roll20-character-sheets/tree/master/D%26D_BECM</a> </ div > < span class = " sheet-spacer " ></ span > < h4 class = " sheet-center " >Melee Weapons / Unarmed Attacks < span class = " sheet-pictos " >D</ span ></ h4 > < div class = " sheet-row sheet-sub-header " > < div class = " sheet-col-1-16 sheet-center sheet-small-label sheet-vert-bottom " >Vs</ div > < div class = " sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom " >Weapon</ div > < div class = " sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr " >Mastery Bonus</ div > < div class = " sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr " >Magic Bonus</ div > < div class = " sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom " >Damage Dice</ div > < div class = " sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom " >AC Bonus</ div > < div class = " sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom sheet-padr " >Effects</ div > < div class = " sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom sheet-padr " >Save vs</ div > < div class = " sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padr " >Attack</ div > </ div > < fieldset class = " repeating_meleeattacks " > < div class = " sheet-row " > < div class = " sheet-col-1-16 sheet-padr " > < select name = " attr_meleetarget " > < option value = " A " selected = " selected " >A</ option > < option value = " H " >H</ option > < option value = " M " >M</ option > </ select > </ div > < div class = " sheet-col-1-6 sheet-padr " >< input type = " text " name = " attr_meleeweaponname " ></ div > < div class = " sheet-col-1-12 sheet-padr " >< input type = " number " name = " attr_meleemastery " value = " 0 " step = " 1 " ></ div > < div class = " sheet-col-1-12 sheet-padr " title = " The magic bonus will be added as a bonus to BOTH the attack and damage rolls " >< input type = " number " name = " attr_meleemagic " value = " 0 " step = " 1 " ></ div > < div class = " sheet-col-1-12 sheet-padr " title = " Only enter the base damage roll here without any bonuses from stats or magic " >< input class = " sheet-center " type = " text " name = " attr_meleedmg " value = " 0 " ></ div > < div class = " sheet-col-1-12 sheet-padr " >< input type = " text " name = " attr_meleeacbonus " ></ div > < div class = " sheet-col-1-6 sheet-padr " >< input type = " text " name = " attr_meleeeffects " ></ div > < div class = " sheet-col-1-6 " >< input class = " sheet-center " type = " text " name = " attr_meleesaves " ></ div > < div class = " sheet-col-1-24 sheet-center " > --------------------> < button type = " roll " class = " sheet-roll " name = " roll_MeleeAttack " value = " &{template:5eDefault} {{weapon=1}} {{title=@{meleeweaponname}}} {{subheader=@{character_name}}} {{subheaderright=vs @{meleetarget}}} {{attack=[[@{thac0}-@{meleemagic}-@{meleemastery}-[[@{strength_mod}]]-{1d20}]]}} {{damage=[[@{meleedmg}+@{meleemagic}+[[@{strength_mod}]]]]}} {{attackshowinfoblock=1}} {{attackrange=Melee}} {{attackacmod=@{meleeacbonus}}} {{attackeffects=@{meleeeffects}}} {{attacksave=@{meleesaves}}} " ></ button > </ div > </ div >