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 .
×
Create a free account

Need help with macro

1719315385

Edited 1719315694
I'm trying to work with a macro something like below, but it's not working as I wish to. Choose Choice ?{Subject|ChoiceA|ChoiceB|ChoiceC|Etc,?{Free Space to write}} When I enter something with {Free Space to write}, it comes out perfectly but when I select other choices, } appears at the end. Here's a sample what I get blow when I choose ChoiceB and Free Space to write. Does anybody know how to get rid of } even when I choose other choices?
1719321543

Edited 1719321579
Try this: Choose Choice ?{Subject|ChoiceA,ChoiceA|ChoiceB,ChoiceB|ChoiceC,ChoiceC|Etc,?{Free Space to write}} The Value behind the "," will be executed upon selection.
1719329002
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It's written this way so you can have human-readable prompts that actually sends something else, like numbers: ?{Choose Hit Location|Head shot,-5|Torso,-2|Left Pinky,-20}