Hi, the following button in the character sheet worked well: <button type="roll" name="roll_gezsp" value="@{abilityroll} wirkt einen geziehlten Zauber mit dem Ergebnis [[1d10! + @{gezsp_attribut} + @{gezsp} + @{gezsp_bonus} + @{global_modifier} + ?{Modifier?|0}]]"></button> after changing it to: <button type="roll" name="act_rollgezsp"></button> [...] <script type="text/worker"> function build_gezieltesprueche_rollcommand(anzahl_ziele,malus) { var value="@{abilityroll} wirkt einen geziehlten Zauber auf "+anzahl_ziele.toString()+" Ziele mit dem Ergebnis:"; malus *= anzahl_ziele-1; var roll="[[1d10! + @{gezsp_attribut} + @{gezsp} + @{gezsp_bonus} + @{global_modifier} + ?{Modifier?|0} - "+malus.toString()+"]]" while( anzahl_ziele > 0 ) { value += " " + roll; anzahl_ziele--; } return value; } on("clicked:rollgezsp", function() { getAttrs(["character_name"], function (values) { let anzahl_ziele = parseInt( prompt("Anzahl Ziele?", "1") ) || 0; let character_name = values.character_name || ""; sendChat(character_name,build_gezieltesprueche_rollcommand(anzahl_ziele,2)); }); }); </script> It does no longer work. :-( Is there a simple syntax error, I do not see. Or is it a design issue and I am using commands/call/methods not allowed to use (or the wrong way)? Any hint?