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

How to make a macro that choses from multiple API commands

Hey guys, my knowledge of the roll20 syntax is very limited and patchy. But I´m learning. I have the following question. Let´s take the group save API. The main command is this, e.g. for a dex save: !group-check --Dexterity Save. To put this one into a macro is simple. However, I would like to have now a macro where I get a drop menu and can choose from all save types. So: - select tokens - click macro - dropdown menu (str, dex, etc.) - and this triggers the right command, so when I chose dex it triggers !group-check --Dexterity Save. How can I do that? Answers as always much appreciated!
1610282434
David M.
Pro
API Scripter
In the main group-check forum thread, Jakob gives an example of how to do this. Looks like a standard query will work, I was just double-checking there wasn't anything strange going on with the script syntax. 
David M. said: In the main group-check forum thread, Jakob gives an example of how to do this. Looks like a standard query will work, I was just double-checking there wasn't anything strange going on with the script syntax.  Thank you, David!