I need your help again.. i'm so bad.. I have tab with spell. is a repeating section like this: the name of spell, the mimum and maximum dammage, the cooldown and the class of spell (for exemple pyrokinesis) and the roll button. I have on other tab with skill like this (I know is french but isn't important) I want when i click on roll button, one script calculate the dammage. The dammage depends on 1d20 (with 1=min, 20=max), the level of skill (for exemple, the skill is pyrokinesis, if the character has 1 point on pyro, the damage is 5% more powerfull). my problem because i'm beginner on script, i don't understand how i can to read variables on repeating section. (maybe the if,else section is an other problem for me..) I have read this wiki : <a href="https://wiki.roll20.net/Sheet_Worker_Scripts" rel="nofollow">https://wiki.roll20.net/Sheet_Worker_Scripts</a> but, it's doesn't work for me... for simple exemple i make this <fieldset class="repeating_skill"> <divstyle="width:10px;margin-left:1px;" >nom <input type="text" name="attr_skill_name"style="margin-left:5px;width:100px;"/> <divstyle="width:10px;margin-left:1px;" >Min <input type="number" name="attr_sortmin"style="width:60px;margin-left:1px;font-weight:lighter;"/> <divstyle="width:10px;margin-left:1px;" >max <input type="number" name="attr_sortmax"style="width:60px;margin-left:1px;font-weight:lighter;"/> <divstyle="width:10px;margin-left:1px;" >Nombre de tour : <input type="number" name="attr_nombretour"style="width:50px;margin-left:1px;font-weight:lighter;"/> |&nbsp;0 : <input type="radio" name="attr_trun0" value="1"checked/> <!--1/2--> |&nbsp;1 : <input type="radio" name="attr_trun1" value="2"/> <!-- taken--> |&nbsp;2 : <input type="radio" name="attr_trun2" value="3"/> <!-- +10%--> |&nbsp;3 : <input type="radio" name="attr_trun3" value="4"/> |&nbsp;4 : <input type="radio" name="attr_trun4" value="5"/> <!-- +20% --> <select class="hiding class" name="attr_catsort" style="width:120px"> <option value="" data-i18n="choose">Compétance</option> <option value="guerre">Art de guerre</option> <option value="Chasseur">Chasseur</option> <option value="Fripouille">Fripouille</option> <option value="Pyrokinésie">Pyrokinésie</option> <option value="Aérothurge">Aérothurge</option> <option value="Géomencien">Géomencien</option> <option value="Necromencien">Necromencien</option> <option value="Invocation">Invocation</option> <option value="Metamorphose">Metamorphose</option> </select> <button type='roll' name='roll_sort' value='&{template:default} {{name=@{character_name}}} {{[[@{degatsort}]]}}'></button> <textarea name="comp_Description" style="height:10px width :30px"></textarea> </fieldset> </div> and the script : <!--test--> <script type="text/worker"> on("change:repeating_skill:sortmin sheet:opened", function() { getAttrs(["repeating_skill:sortmin"], function(values) { let min = parseInt(values.repeating_skill:sortmin)||0; setAttrs({ repeating_skill:degatsort: min }); }); }); </script> <!--______________________________________________________-->