
So after much head-banging and a complete failure of Google-fu, I need some help understanding using an ability inside of a character sheet. Here is the code snippet: <td> <div>CR:</div> <input type="number" title="CR" name="attr_CR" min=0 /> <div>MR:</div> <input type="number" title="MR" name="attr_MR" min=0 step=1 /> <button type="roll" value=" ??? " name=" YYY " title="Test Roll" /> </td> And here is the ability referenced The purpose is to call 3 API commands in order with no gaps. I know this can be done with assigning it to a macro or to 3 different buttons, but this is more of a learning exercise then just getting to work. Also, as the code behind those scripts is currently far from bulletproof, I don't want the players to actually know what those commands are. My questions are simply, what do I put in ??? and YYY in the code snippet. I have tried a handful of nesting commands and I cannot seem to get it right. I know that the chat needs to hear %{CharacterName|Roll_Test}, it seems the closest I can get is to have it hear {CharacterName|Roll_Test}. The moment I add the % , it gives a "TypeError: Cannot read property 'substring' of undefined" error. Any help would be appreciated. (If it helps, this particular character's name is Okli Owim (randomly determined Roll20 name) and there is an attribute in the character sheet @{ID_Character} that stores the character's ID in it's current value. Assume that we are not using tokens, so no @{selected|.... or @{target|... Dan C.