Thanks for that, but I guess my question was badly worded, I'm doing it in the sheet itself not a macro, I have those macros for some attacks, but I have really new players and I don't have time to make them for everyone :(, so I figured to try and do it in the sheet because they have just discovered that its possible. But here is the code for the entire standard-melee weapons section: <div class="sheet-tab-content sheet-section-weapon-standard-melee"> <table> <thead class="sheet-default-header"> <tr> <th class="sheet-centering-padding-2" rowspan="2" title="Strength attack adjustment">Str</th> <th rowspan="2" title="Weapon name">Weapon</th> <th rowspan="2" title="Proficiency level with weapon">Proficiency</th> <th rowspan="2" title="Number of attacks per round"># of<br>Attack</th> <th rowspan="2" title="Attack adjustment">Attack<br>Adj.</th> <th rowspan="2" colspan="2" title="To Hit Armor Class 0">THAC0</th> <th rowspan="2" title="Natural roll Crit">Crit</th> <th rowspan="2" title="Ranges for Short, Medium, and Long">Range</th> <th rowspan="2" title="Size ie. S/M/L">Size</th> <th class="sheet-centering" colspan="3" title="Type ie. Slashing, Piercing, or Bludgeoning">Type</th> <th rowspan="2" colspan="2" title="Speed factor">Speed</th> </tr> <tr class="sheet-centering"> <th title="Slashing">S</th> <th title="Piercing">P</th> <th title="Bludgeoning">B</th> </tr> </thead> <tr class="sheet-collapse"> <td><label><input type='checkbox' title="@{strbonus}" value='1' checked/><span></span></label></td> <td><input type="text" title="@{weaponname}" class="sheet-middle"></td> <td> <select title="@{prof-level}" class="sheet-table-dynamic"> <option value="@{nonprof-penalty}">Nonproficient</option> <option value="@{famil-penalty}">Related Weapon</option> <option value="0" selected="selected">Proficient</option> <option value="1">Specialist</option> </select> </td> <td><input type="text" title="@{attacknum}" class="sheet-table-dynamic"></td> <td><input type="text" title="@{attackadj}" class="sheet-table-dynamic" value="0"></td> <td><input type="text" title="@{ThAC0}" class="sheet-small" value="20"></td> <td><button type="roll" title="%{hit1}" >Hit</button></td> <td><input type="text" title="@{crit-thresh}" class="sheet-small" value="20"></td> <td><input type="text" title="@{range}" class="sheet-short"></td> <td><input type="text" title="@{size}" class="sheet-table-dynamic"></td> <td><label><input type="checkbox" title="@{weaptype-slash}" value="1"/><span></span></label></td> <td><label><input type="checkbox" title="@{weaptype-pierce}" value="1"/><span></span></label></td> <td><label><input type="checkbox" title="@{weaptype-blunt}" value="1"/><span></span></label></td> <td><input type="text" title="@{weapspeed}" class="sheet-small"></td> <td><button type="roll" title="%{init}" >Initiative</button></td> </tr> </table> <fieldset name="repeating_weapons" title="@{weapons}" class="repeating_weapons"> <table> <!-- Invisible header row to keep the spacing of all the cells --> <thead class="sheet-default-header" style="visibility: collapse;"> <tr> <th class="sheet-centering-padding-2" rowspan="2" title="Strength attack adjustment">Str</th> <th rowspan="2" title="Weapon name">Weapon</th> <th rowspan="2" title="Proficiency level with weapon">Proficiency</th> <th rowspan="2" title="Number of attacks per round"># of<br>Attack</th> <th rowspan="2" title="Attack adjustment">Attack<br>Adj.</th> <th rowspan="2" colspan="2" title="To Hit Armor Class 0">THAC0</th> <th rowspan="2" title="Natural roll Crit">Crit</th> <th rowspan="2" title="Ranges for Short, Medium, and Long">Range</th> <th rowspan="2" title="Size ie. S/M/L">Size</th> <th class="sheet-centering" colspan="3" title="Type ie. Slashing, Piercing, or Bludgeoning">Type</th> <th rowspan="2" colspan="2" title="Speed factor">Speed</th> </tr> <tr class="sheet-centering"> <th title="Slashing">S</th> <th title="Piercing">P</th> <th title="Bludgeoning">B</th> </tr> </thead> <tr class="sheet-centering"> <td><label><input type='checkbox' name='attr_strbonus' title="@{repeating_weapons_$X_strbonus}" value='1' checked/><span></span></label></td> <td> <input type="text" name="attr_weaponname" title="@{repeating_weapons_$X_weaponname}" class="sheet-middle sheet-chrome" list="melee-weapons"> <input type="text" name="attr_weaponname" title="@{repeating_weapons_$X_weaponname}" class="sheet-middle sheet-firefox" list="melee-weapons-ff"><span></span> </td> <td> <select name="attr_prof-level" title="@{repeating_weapons_$X_prof-level}" class="sheet-table-dynamic"> <option value="@{nonprof-penalty}">Nonproficient</option> <option value="@{famil-penalty}">Related Weapon</option> <option value="0" selected="selected">Proficient</option> <option value="1">Specialist</option> </select> </td> <td><input type="text" name="attr_attacknum" title="@{repeating_weapons_$X_attacknum}" class="sheet-table-dynamic" value="1"></td> <td><input type="text" name="attr_attackadj" title="@{repeating_weapons_$X_attackadj}" class="sheet-table-dynamic" value="0"></td> <td><input type="text" name="attr_ThAC0" title="@{repeating_weapons_$X_ThAC0}" class="sheet-small" value="20"></td> <td><button type="roll" name="roll_hit1" title="%{repeating_weapons_$X_hit1}" value="&{template:2Eattack}{{title=@{selected|token_name} attacks}} {{subtitle=@{target|token_name} with}} {{weapon_used=@{weaponname} }} {{ac_hit=[[@{ThAC0}-(1d20+(@{attackadj})+(@{prof-level})+(@{strengthhit})+(@{misc-mod}))]] }} {{dam_s=}}{{dam_l=}})">Hit</button></td> <td><input type="text" name="attr_crit-thresh" title="@{repeating_weapons_$X_crit-thresh}" class="sheet-small" value="20"></td>} <td><input type="text" name="attr_range" title="@{repeating_weapons_$X_range}" class="sheet-short"></td> <td><input type="text" name="attr_size" title="@{repeating_weapons_$X_size}" class="sheet-table-dynamic"></td> <td><label><input type="checkbox" name="attr_weaptype-slash" title="@{repeating_weapons_$X_weaptype-slash}" value="1"/><span></span></label></td> <td><label><input type="checkbox" name="attr_weaptype-pierce" title="@{repeating_weapons_$X_weaptype-pierce}" value="1"/><span></span></label></td> <td><label><input type="checkbox" name="attr_weaptype-blunt" title="@{repeating_weapons_$X_weaptype-blunt}" value="1"/><span></span></label></td> <td><input type="text" name="attr_weapspeed" title="@{repeating_weapons_$X_weapspeed}" class="sheet-small"></td> <td><button type="roll" name="roll_init" title="%{repeating_weapons_$X_init}" value="!group-init --bonus [[0+@{weapspeed}-(@{dexreact})-(@{misc-mod})]], [Initiative (@{weaponname})]">Initiative</button></td> </tr> </table> </fieldset> <br> <h4>Melee Damage</h4> <table> <tr class="sheet-default-header"> <th class="sheet-centering-padding-2" title="Strength damage adjustment">Str</th> <th title="Weapon name">Weapon</th> <th class="sheet-centering-padding-2" title="Specialist: +2">Spec</th> <th title="Damage adjustment">Damage<br>Adj.</th> <th colspan="3" title="Damage Small/Medium">Damage S/M</th> <th colspan="3" title="Damage Large">Damage L</th> </tr> <tr class="sheet-centering sheet-collapse"> <td><label><input type='checkbox' title="@{strbonus1}" value='1' checked/><span></span></label></td> <td><input type="text" title="@{weaponname1}" class="sheet-middle"></td> <td><label><input type="checkbox" title="@{specialist-damage}" value="2"/><span></span></label></td> <td><input type="text" title="@{damadj}" class="sheet-table-dynamic" value="0"></td> <td><input type="text" title="@{damsm}" class="sheet-short"></td> <td><button type="roll" title="%{attacksm}"></button></td> <td><button type="roll" title="%{critsm}">Crit</button></td> <td><input type="text" title="@{daml}" class="sheet-short"></td> <td><button type="roll" title="%{attackl}"></button></td> <td><button type="roll" title="%{critl}">Crit</button></td> </tr> </table> <fieldset name="repeating_weapons-damage" title="@{weapons-damage}" class="repeating_weapons-damage"> <table> <!-- Invisible header row to keep the spacing of all the cells --> <tr class="sheet-default-header" style="visibility: collapse;"> <th class="sheet-centering-padding-2">Str</th> <th>Weapon</th> <th class="sheet-centering-padding-2">Spec</th> <th>Damage<br>Adj.</th> <th colspan="3">Damage S/M</th> <th colspan="3">Damage L</th> </tr> <tr class="sheet-centering"> <td><label><input type='checkbox' name='attr_strbonus1' title="@{repeating_weapons-damage_$X_strbonus1}" value='1' checked/><span></span></label></td> <td> <input type="text" name="attr_weaponname1" title="@{repeating_weapons-damage_$X_weaponname1}" class="sheet-middle sheet-chrome" list="melee-weapons"> <input type="text" name="attr_weaponname1" title="@{repeating_weapons-damage_$X_weaponname1}" class="sheet-middle sheet-firefox" list="melee-weapons-ff"><span></span> </td> <td><label><input type="checkbox" name="attr_specialist-damage" title="@{repeating_weapons-damage_$X_specialist-damage}" value="2"/><span></span></label></td> <td><input type="text" name="attr_damadj" title="@{repeating_weapons-damage_$X_damadj}" class="sheet-table-dynamic" value="0"></td> <td><input type="text" name="attr_damsm" title="@{repeating_weapons-damage_$X_damsm}" class="sheet-short"></td> <td><button type="roll" name="roll_attacksm" title="%{repeating_weapons-damage_$X_attacksm}" value="[[@{damsm}+([[(@{damadj})+(@{specialist-damage})+((@{strengthdmg})*@{strbonus1})+(@{temp-damadj})+(@{misc-mod})]])]]"></button></td> <td><button type="roll" name="roll_critsm" title="%{repeating_weapons-damage_$X_critsm}" value="/em rolls [[(@{damsm})+(@{damsm})+([[(@{damadj})+(@{specialist-damage})+((@{strengthdmg})*@{strbonus1})+(@{temp-damadj})+(@{misc-mod})]])]] critical damage using their @{weaponname1}! (vs. Small/Medium)">Crit</button></td> <td><input type="text" name="attr_daml" title="@{repeating_weapons-damage_$X_daml}" class="sheet-short"></td> <td><button type="roll" name="roll_attackl" title="%{repeating_weapons-damage_$X_attackl}" value="/em rolls [[@{daml}+([[(@{damadj})+(@{specialist-damage})+((@{strengthdmg})*@{strbonus1})+(@{temp-damadj})+(@{misc-mod})]])]] damage using their @{weaponname1}! (vs. Large)"></button></td> <td><button type="roll" name="roll_critl" title="%{repeating_weapons-damage_$X_critl}" value="/em rolls [[(@{daml})+(@{daml})+([[(@{damadj})+(@{specialist-damage})+((@{strengthdmg})*@{strbonus1})+(@{temp-damadj})+(@{misc-mod})]])]] critical damage using their @{weaponname1}! (vs. Large)">Crit</button></td> </tr> </table> </fieldset> <br> <h4>Special Abilities and Attacks</h4> <textarea name="attr_abilitiesnotes" title="@{abilitiesnotes}" placeholder=""></textarea> <br> <h4>Weapon Notes</h4> <textarea name="attr_weaponnotes" title="@{weaponnotes}" placeholder="Specializing in a melee weapon grants: +1/+2 and extra attacks"></textarea> </div> The Bold text is what I changed to attempt this, so leaving the dmg_s and dmg_l blank it will complete the template just no dmg will obviously be rolled, but if I make {{dmg_s=[ROLL](~{attacksm})}} I get the error that **** has no attrib attacksm. And this is true if I try to use any @ values from the repeating_weapons-damage fieldset, I'm thinkinhg probably because it hasn't been set yet. So Ive tried putting the roll code into the weapons-damage set and the opposite happens it gives error on ThAC0, attackadj, etc....and that prevents chat output. So how do I get all these values together so I can have a HIT button that uses the 2Eattack template?