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

Trying to embed macros with dropdown choices into other macros

In an effort to condense my macro page, I'm trying to put all of the saving throws for monsters into fewer buttons.  My first attempt was an enormous macro that was supposed to let you choose the type of save, then choose the monster saving to get the correct modifier.  That failed spectacularly.  I'm not entirely sure where I went wrong, but it has something to do with putting a query inside of a query, I'm sure.  So I separated them into three buttons: Fortsave(GM), Refsave(GM), and Willsave(GM).  All three buttons function perfectly on their own and are coded as follows: Fortsave(GM) Fortitude save: [[1d20+?{Monster|Aqua Goblin,4|Bandit,1|Caiman,10|Carrion Crawler,3|Dire Rat,3|Fire Beetle,2|Froglok,2|Froglok&#44 Corrupted,2|Froglok&#44 Corrupted(damaged),4|Fungus Fiend,3|Fungus Fiend(large/rage),5|Fungus Fiend(large+rage),7|Ghost Skull,1|Ghoul,0|Giant Bat,9|Giant Wasp,2|Gnoll,6|Goblin,3|Golem&#44 Doll,11|Golem&#44 Glass,4|Golem&#44 Necrophidius,4|Guttersnipe,2|Homonculus,0|Human Soldier,7|Island Goblin,5|Jermlaine,-1|Mirrormare,5|Muddite&#44 Corrupted,11|Muddite&#44 Corrupted(damaged),13|Osquip,3|Puma,7|Shadow,2|Skeleton&#44 Benpeed/Chyur/Human/Jermlaine,1|Skeleton&#44 Dark-boned,2|Skeleton&#44 Goblin,3|Slithering Tracker,1|Tatterdemanimal,0|Willowisp,3|Xenian,7|Xenian (large),9|Xenian (swarmcaller),5|Xenian (hive tyrant),14|Zombie&#44 Chyur,0}]] Refsave(GM) Reflex save: [[1d20+?{Monster|Aqua Goblin,3|Bandit,5|Caiman,9|Carrion Crawler,3|Crawling Claw,3|Dire Rat,5|Fire Beetle,3|Froglok,3|Froglok&#44 Corrupted,3|Fungus Fiend,3|Fungus Fiend(large),2|Ghost Skull,3|Ghoul,0|Giant Bat,13|Giant Wasp,2|Gnoll,4|Goblin,2|Golem&#44 Doll,5|Golem&#44 Glass,4|Golem&#44 Necrophidius,7|Guttersnipe,3|Homonculus,10|Human Soldier(melee),1|Human Soldier(ranged),5|Island Goblin,7|Jermlaine,6|Mirrormare,5|Muddite&#44 Corrupted,1|Osquip,6|Puma,9|Shadow Chyur,7|Shadow Goblin,3|Skeleton&#44 Benpeed(druid),2|Skeleton&#44 Benpeed(rogue),5|Skeleton&#44 Chyur/Jermlaine,3|Skeleton&#44 Dark-boned,3|Skeleton&#44 Goblin,0|Skeleton&#44 Human,1|Slithering Tracker,3|Tatterdemanimal,1|Willowisp,15|Xenian,8|Xenian (large),7|Xenian (swarmcaller),7|Xenian (hive tyrant),8|Zombie&#44 Chyur,0}]] Willsave(GM) Will save: [[1d20+?{Monster|Aqua Goblin,0|Bandit,0|Caiman,4|Carrion Crawler,5|Dire Rat,3|Fire Beetle,0|Froglok,2|Froglok&#44 Corrupted,1|Fungus Fiend,4|Ghost Skull,6|Ghoul,5|Giant Bat,4|Giant Wasp,1|Gnoll,1|Goblin,2|Golem&#44 Doll,2|Golem&#44 Glass,5|Golem&#44 Necrophidius,7|Guttersnipe,5|Homonculus,1|Human Soldier,1|Island Goblin,-1|Jermlaine,5|Mirrormare,6|Muddite&#44 Corrupted,1|Osquip,2|Puma,3|Shadow Chyur,7|Shadow Goblin,-1|Skeleton&#44 Benpeed(druid),5|Skeleton&#44 Benpeed(rogue)/Human,1|Skeleton&#44 Chyur/Jermlaine,4|Skeleton&#44 Dark-boned,6|Skeleton&#44 Goblin,0|Slithering Tracker,1|Tatterdemanimal,4|Willowisp,9|Xenian,9|Xenian (large),9|Xenian (swarmcaller),10|Xenian (hive tyrant),19|Zombie&#44 Chyur,3}]] To save space on my macro quickbar, I would like to make a single macro button that will let me choose between the three options, Saves(GM).  So far I've gotten to: ?{Save|Fort,#Fortsave(GM) |Ref,#Refsave(GM) |Will,#Willsave(GM) } but this doesn't work.  The initial query gives me the choice between Fort and every option from Fortsave(GM) and no matter what option I choose the next inquiries come back messed up.  I would really like to clear this up, can anyone see what the problem is with this?
1613754506
Kraynic
Pro
Sheet Author
Nesting queries... that way lies madness... and Zeichael. A bunch of us have abandoned that form of macro organization and have moved to using chat menus, which are detailed in the Stupid Tricks thread pinned at the top of this forum. <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a> Sometimes, this is also combined with macro character sheets. <a href="https://app.roll20.net/forum/permalink/5924364/" rel="nofollow">https://app.roll20.net/forum/permalink/5924364/</a> <a href="https://app.roll20.net/forum/permalink/7605679/" rel="nofollow">https://app.roll20.net/forum/permalink/7605679/</a> <a href="https://app.roll20.net/forum/permalink/6138238/" rel="nofollow">https://app.roll20.net/forum/permalink/6138238/</a> And, since you have a pro account, you could also just use the api to generate chat menu lists.&nbsp; While there may be other options depending on the game system/character sheet you use, you could check out Universal Chat Menu, which can be configured for any sheet.&nbsp; It is only available in the forum thread.&nbsp; There are examples through the thread of different ways people have set it up for various sheets, so there might be examples you can use directly. <a href="https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1</a>
Thank you Karynic, this has helped immensely.&nbsp; Cleaned up a lot for me