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 .
×

New to macros

Hi All, I wanted to ask if somebody could explain the issue im having. Currently i want to make a dropdown macro which gives me the options for different attack types for my character. ?{Rifle Shot|Standard Single Shot,#rifle-single|Full Round,#rifle-full } The two macros rifle single and rifle full are: %{New character|repeating_weapon_$1_attack-roll} When i test rifle single and rifle full they work as expected but when i try and execute them using the dropdown macro it doesnt work (No errors appear in the chat) Is there somthing i am missing? All suggestions welcome
1610981775
Jordan C.
Pro
API Scripter
This is a common issue that happens as a result of the macros/abilities being converted to literal strings that have right curly braces "}" which close the query early. More information here in the wiki . You have two options really, which are create an API command button that can be clicked to resolve the macro or create a custom macro that escapes the curly braces with their html entities.