Rouse said: I have spell slots named attr_spell_slots_l1, attr_spell_slots_l2, .... thru 9 Is there away to use the ? prompt for the cast level to create an attribute? {{spellLvl=?{Level?|1,1|2,2|3,3|4,4|5,5|6,6|7,7|8,8|9,9}}} {{@{spell_slots_l?{Level?}}}} so i can access the attribute based on the prompt level the user selected. This is where Fetch comes in handy. Because it happens after all Roll20 parsing but *before* the destination script's command line, you can use a roll query in its construction: {{spellLvl=?{Level?|1,1|2,2|3,3|4,4|5,5|6,6|7,7|8,8|9,9}}} {{@(<character name>.spell_slots_l?{Level?})}} (Replace <character name> with the name of the character in question.) Note, if you are using this (as you apparently are) in a message NOT intended for the api (you look to be using a roll template), you want to have ZeroFrame installed, too, and start/end the whole thing like this: ! ... {&simple} Where the ellipsis is where the roll template with Fetch construction would go. The above starts out the message as an API call, to let the metascripts do their thing, then releases it as a normal chat message so you see the output. So, an example with the default template: !&{template:default}{{spellLvl=?{Level?|1,1|2,2|3,3|4,4|5,5|6,6|7,7|8,8|9,9}}} {{@(<character name>.spell_slots_l?{Level?})}}{&simple} Required Scripts: Fetch , ZeroFrame