Scott C. said: So, you want to output a menu of all the items in a repeating section? That is certainly doable, and has been done by several sheets even before CRP. The 5e shaped, Starfinder by Roll20, and pathfinder community sheets all have this capability. To critique what's going wrong with your function, we'd need to see your actual code. My idea is to create a custom template where the "content" will be generated according to the items in a repeating session. The example of the spell would be in the case of pressing a button called Grimoire and for each spell, its name and level would be put in their respective values, something like {{spellname=@{spell_name}}}{{spelllevel=@{spell_level}} }. I understand that I should have a function to "read" the lines and put that data with some kind of loop, but I want to see something ready to have a basis for how to do it. I'm going to take a look at those sheets you mentioned and see if that's what I'm looking for. something like: on('clicked:test', (info) => { // loop here... keys = [ '{{spell1=value}}', '{{spell1=value}}', '{{spell1=value}}', '{{spell1=value}}', '{{spell1=value}}', '{{spell1=value}}' ]; startRoll("/w gm &{template:default} {{name=@{character_name}-Spells}} "+keys+" {{end=end.}}", (results) => { }); });