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

Drop Down Macro help.

So, trying to set up a drop down macro in a generic game, that I can specify the skill I'm trying to use, and the die result, ala  Eledreth rolls Climb of 14! The macro itself works in a generic sense: /e rolls an skill check: [[?{Skill Check|Climb, 1d10!+@{STRbonus}|Find, 1d8!+@{KNWbonus}|Jump, 1d8!+@{AGLbonus}|Trillian, 1d8!+@{KNWbonus}, Swim, 1d8+@{STRbonus}|Faelish, 1d8!+@{KNWbonus}|Intimidate, 1d8!+{STRbonus}|Lore (Dothgolar), 1d6!+@{KNWbonus}, Lore (Lethedrim), 1d4!+@{KNWbonus}, Lore: Krai-Ja, 1d6!+@{KNWbonus}]] I can select Climb, or Swim, or what have you, and get: Eledreth rolls an skill check: 14! Is there a way I can get it to add the skill name?  If I try to put something before the die roll, I get no result for that entry (ie, ?{Skill Check|Climb, Climb 1d10!+@{STRbonus}   while the rest of them work.   Unfortunately, no API for this game, but if there's another way to do it, I'd love to know.     
1638181396
Ziechael
Forum Champion
Sheet Author
API Scripter
By shifting the beginning of your query to include some minor repetition you can accommodate bespoke naming as well as the need for 'a' versus 'an' (see intimidate for details ;) ): /e rolls a?{Skill Check|Climb, climb skill check: [[ 1d10!+@{STRbonus}|Find, find skill check: [[ 1d8!+@{KNWbonus}|Jump, jump skill check: [[ 1d8!+@{AGLbonus}|Trillian, trillian skill check: [[ 1d8!+@{KNWbonus}|Swim, swim skill check: [[ 1d8+@{STRbonus}|Faelish, faelish skill check: [[ 1d8!+@{KNWbonus}|Intimidate,n intimidate skill check: [[ 1d8!+@{STRbonus}|Lore (Dothgolar), dothgolar lore skill check: [[ 1d6!+@{KNWbonus}|Lore (Lethedrim), lethedrim lore skill check: [[ 1d4!+@{KNWbonus}|Lore (Krai-Ja), krai-ja lore skill check: [[ 1d6!+@{KNWbonus}} ]]
Perfect, thank you.  I think I understand why yours worked, and mine didn't.  lol.