Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Roll Query error when saving

1600033163

Edited 1600033408
I understand that  }  ends the roll query and should be replaced with the unicode. It works fine when I click "test macro" but when I save, all the unicode gets replaced by  }  and breaks the drop down menu. I'm not sure how to keep the unicode in the macro. ?{Spell| Cure Light Wounds, [[1d8 + {#cleric-level , 5}KL1]] **Cure Light Wounds** |    Cure Moderate Wounds, [[2d8 + {#cleric-level , 10}KL1]] **Cure Moderate Wounds** |     Cure Serious Wounds, [[3d8 + {#cleric-level , 15}KL1]] **Cure Serious Wounds** |    Cure Critical Wounds, [[4d8 + {#cleric-level , 20}KL1]] **Cure Critical Wounds** | } turns into ?{Spell|    Cure Light Wounds, [[1d8 + {#cleric-level , 5}KL1]] **Cure Light Wounds** |   Cure Moderate Wounds, [[2d8 + {#cleric-level , 10}KL1]] **Cure Moderate Wounds** |   Cure Serious Wounds, [[3d8 + {#cleric-level , 15}KL1]] **Cure Serious Wounds** |    Cure Critical Wounds, [[4d8 + {#cleric-level , 20}KL1]] **Cure Critical Wounds** | }
1600034529

Edited 1600035007
vÍnce
Pro
Sheet Author
If you open your macro to edit, the vtt will convert the special characters.  ;-(  Keep a copy of you macro off-roll20 for editing. Copy, Paste, Save, and never open the macro for editing again.  ;-P  Also, I'm thinking you want to grab use @{cleric-level} correct? I believe that #cleric-level would call a macro.  Does this work(copy/save/and do not open)? ?{Spell| Cure Light Wounds, [[ 1d8 + {@{selected|cleric-level} , 5}KL1 ]] **Cure Light Wounds** | Cure Moderate Wounds, [[ 2d8 + {@{selected|cleric-level} , 10}KL1 ]] **Cure Moderate Wounds** | Cure Serious Wounds, [[ 3d8 + {@{selected|cleric-level} , 15}KL1 ]] **Cure Serious Wounds** | Cure Critical Wounds, [[ 4d8 + {@{selected|cleric-level} , 20}KL1 ]] **Cure Critical Wounds** | } The conversion issue is a pain.  Here's a couple of alternate query options is to use a " macro character " that stores your macros or use  chat menus  instead. Hope this helps.
Yes, it works! Thank you :)  I don't have a character sheet in Roll20, which I think is what the @ pulls from?, so editing a macro with my cleric level seemed the next best solution.
1600035395
vÍnce
Pro
Sheet Author
B W. said: Yes, it works! Thank you :)  I don't have a character sheet in Roll20, which I think is what the @ pulls from?, so editing a macro with my cleric level seemed the next best solution. Before we had character sheets on roll20(back in the olden days... lol), all attributes were stored on the character journal's attributes tab.  If you create an attribute on the character journal's attributes and abilities tab, you can use the common syntax of @{X} where "X" is the actual attribute name in your macros and it should work just fine. Cheers