GiGs said: You're running into probably the most common problem people encounter when they start using queries. When a macro runs, it grabs the contents of all macros, abilities and attributes, and places them in the query. So while running the macro, this ?{Efeito| Combustão,%{PALITOS|combustao}| Pilar de Chamas,%{PALITOS|Pilar-de-chamas} } becomes ?{Efeito| Combustão,&{template:default} {{Combustão=**com uma ação, escolha uma
criatura ou objeto que você pode ver dentro de 24 metros de você. O alvo
deve realizar uma salvaguarda de Constituição. Em uma falha, o alvo
sofre 1d10 de dano ígneo por ponto gasto e sofre combustão, sofrendo 1d6
de dano ígneo no final de cada uma dos seus turnos ou até sua
concentração terminar ou até que ele ou uma criatura próxima apague as
chamas usando uma ação. Em um sucesso, o alvo apenas sofre metade do
dano e não entra em combustão.**}} {{note=1-7 psi, conc., 1 min.}}
{{damage=[[?{Dados| 1|2|3|4|5|6|7}d10]]}} {{Saving Throw=Constituição CD:@{spell_save_dc}}} | Pilar de Chamas,&{templat e:defau lt} {{Pilar de Chamas=**com uma ação, você
cria fogo em um cubo de 4,5m por 4,5m até 1,5 de você. O fogo dura até a
sua concentração terminar. Qualquer criatura nessa área quando você usa
essa habilidade e qualquer criatura que termine o turno dela nessa área
sofre 5 de dano ígneo.**}} {{note=3 pontos, conc., 1 min.}}
{{damage=5}}} And only after that transformation, the macro attempts to continue. But look at the code: remember this symbol } is the symbol that ends a query. Commas are also a problem. Now because your abilities include rolltemplates, you have lots of } symbols, and the roll20 macro system cant tell which ones end the query - so the macro breaks. There are two solutions here: Explore the wonderful world of HTML substitutions. Basically you have to replace all symbols in your abilities that break the query with html entities (without replacing the ones that shouldn't be replaced). If you do it correctly (and this can be tricky), those abilities will now only work in the query - they won't work as normal abilities any more. If you want to explore that option, it's described here: <a href="https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries" rel="nofollow">https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries</a> Use a Chat Menu. With a chat menu, athe query is replaced by a set of buttons is sent to chat (and they can be whispered to just the person calling them so chat isn't swamped for other people), and then you click the button for the macro you want to run. With this approach, you don't need to make any change to the abilities being called. IMO a chat menu is by far the superior approach. As a Chat Menu, your query would look something like this: /w PALITOS &{template:default} {{name=Efeito}} {{buttons=[Combustão](~PALITOS|combustao) [Pilar de Chamas](~PALITOS|Pilar-de-chamas) }} I've used the default roll template there, because it looks decent but you dont need to. You could do this: /w PALITOS [Combustão](~PALITOS|combustao) [Pilar de Chamas](~PALITOS|Pilar-de-chamas) That does a good job of showing how to construct an ability button, which is: [BUTTON LABEL](~CHARACTER-NAME|ABILITY-NAME) Replace the all caps with the proper names. I tried the Chat Menu, and it worked, Thank you so much bro