InsertArgs can do this. Whatever the choices you make, it uses those parameters to go get the information you want. You can store that command in a new ability or send it to chat directly (say, in menu form). There are lots of examples in that first post of the kind of output IA can give you, but the easiest way to see it is to use the !xray command and walk a character sheet. Drill down into the repeating section that has the attacks. The xray will detect the "executability" of the sub-attribute and give you a button to create the menu list based on that attribute across the repeating list. Then "up-arrow" in the chat box to see how that menu was made. The output is HIGHLY customizable, but the learning curve can be (admittedly) a bit steep. If you want to do something like this yourself using the list you've derived, you just need to escape the HTML characters that will cause the elements to expand... for instance you should be able to output the '#' character as &#35; so that it doesn't immediately expand when you would send that to the chat as a part of a button, for instance.