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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Hello everyone, I have an API script that changes the value of an attribute with a command like: !attrib attribname|desiredValue. I would like to do a macro which runs the script but asks me for desiredValue! How could I do that?
!attrib rawcharisma|?{New Value|@{selected|rawcharisma}} That would assume that you have the token selected, but given your command line, I assume it has to be. The default value for the query is the current value of the attribute, so you can figure from there. EDIT: NINJA! =D