Michiel B. said: note: could be that because the macro for casting the spell contains a level query there is a problem with the nesting of said level query? " Even when you escape characters it will not parse the roll template correctly when it is in a roll query. " I didn't fully grasp the meaning of this so this might be the answer. Yes, this is why. Escaping characters means that you use a replacement 'code' in place of the actual character. For example, using '&' instead of '&' character. This allows the compiler, the browser in this case, to parse the information correctly. The reason this is needed, in this case, is due to how the roll query starts and ends. A roll query begins with the first open curly bracket '{' and ends on the first closed curly bracket '}'. Also, keeping in mind that all information in roll queries are parsed prior to the actual roll of that query. Using your example: ?{Spell|Hail of Thorns, %{selected|repeating_spell-1_$0_spell} |Hunter's Mark, %{selected|repeating_spell-1_$1_spell} |Ensnaring Strike, %{selected|repeating_spell-1_$2_spell}} The query will parse this ' %{selected|repeating_spell-1_$0_spell}' information prior to doing the actual query and because every sheet roll uses the character sheet's built in template, it won't work correctly. So prior to running the query it will look like this (with all the proper spell information being filled in the template): ?{Spell|Hail of Thorns, &{template:spell} {{level=school level}} {{name=name}} {{castingtime=castingtime}} {{range=range}} {{target=target}} {{v=1}} {{s=1}} {{m=1}} {{material=material}} {{duration=duration}} {{description=description}} {{athigherlevels=athigherlevels}} {{ritual=1}} {{concentration=1}} {{charname=charname}}| Hunter's Mark, &{template:spell} {{level=school level}} {{name=name}} {{castingtime=castingtime}} {{range=range}} {{target=target}} {{v=1}} {{s=1}} {{m=1}} {{material=material}} {{duration=duration}} {{description=description}} {{athigherlevels=athigherlevels}} {{ritual=1}} {{concentration=1}} {{charname=charname}}|Ensnaring Strike, &{template:spell} {{level=school level}} {{name=name}} {{castingtime=castingtime}} {{range=range}} {{target=target}} {{v=1}} {{s=1}} {{m=1}} {{material=material}} {{duration=duration}} {{description=description}} {{athigherlevels=athigherlevels}} {{ritual=1}} {{concentration=1}} {{charname=charname}}} This will not parse correctly because the first closing curly bracket it sees is at the end of &{template:spell}, which isn't the end of your macro. This is why you see 'Hail of Thorns, &{template' etc. in the drop down and, as far as I know and have tried, roll queries won't work with rolls that are already in the form of a roll template without being able to escape characters. Unfortunately, with what you are trying to accomplish, escaping those characters can't be done as the template is inherent to that character sheet and the ability you are trying to call. For reference here is an example of escaping characters ( <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a> ): ?{Name of Query|
Label 1, ?{value1|
Label 1A, ?{value1A|
Label 1Ai, value1Ai |
Label 1Aii, value1Aii
} |
Label 1B, ?{value1B|
Label 1Bi, value1Bi |
Label 1Bii, value1Bii
}
} |
Label 2, ?{value2|value2}
} This is all done inside the roll query itself without trying to call something else associated with a template. I know this doesn't help your problem but I hope it helps clarify.