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

5e Skill check macro drop menu help

1496459410

Edited 1496459518
Hi, Wondering if anyone can give me a hand figuring out the bug in a macro I'm making. the macro is a sheet macro for skill checks (using 5e OGL sheets). I have the code figured out for the checks and drop select menu, the issue I'm running into is not every option (skills) are showing up in the drop menu. the ones that do show up work fine. Using 5e skills, the only ones that show up are Acrobatics through History if I make a new macro starting from insight, I run into a similar issue, where not every option shows up, (only showing Insight, intimidation and investigation) if I make a 3rd macro starting from Medicine, the rest of them show up and work just fine (Medicine through Survival) So, right now until its figured out I'm using 3 skill macros instead of one. I've tried figuring it out on my own (but I'm a complete noob), thinking that whatever issue would be located near the end of the History and Insight lines of code but I'm not seeing anything amiss. I pasted the code I'm using the pastebin link below for anyone that wants to try to solve it. <a href="https://pastebin.com/p0pJxJth" rel="nofollow">https://pastebin.com/p0pJxJth</a> Thank you for any help.
Here you go. Your problem was that the History, Insight, and Intimidation options had an erroneous } in the calculation. For example History was&nbsp;[[1d20 } +@{History_bonus}]] [[1d20 } +@{History_bonus}]] Here is the updated code. Something that some people don't realize is that Queries can use multiple lines without breaking so you can spread it out to make it easier to understand. It also makes debugging it much easier. &{template:default} {{name=?{Skills |Acrobatics,Acrobatics (Dex)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Acrobatics_bonus}]] [[1d20+@{Acrobatics_bonus} ]] |Animal Handling,Animal Handling (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Animal_Handling_bonus}]] [[1d20+@{Animal_Handling_bonus}]] |Arcana,Arcana (Int)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Arcana_bonus}]] [[1d20+@{Arcana_bonus}]] |Athletics,Athletics (Str)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Athletics_bonus}]] [[1d20+@{Athletics_bonus}]] |Deception,Deception (Cha)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Deception_bonus}]] [[1d20+@{Deception_bonus}]] |History,History (Int)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{History_bonus}]] [[1d20+@{History_bonus}]] |Insight,Insight (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Insight_bonus}]] [[1d20+@{Insight_bonus}]] |Intimidation,Intimidation (Cha)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Intimidation_bonus}]] [[1d20+@{Intimidation_bonus}]] |Investigation,Investigation (Int)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Investigation_bonus}]] [[1d20+@{Investigation_bonus}]] |Medicine,Medicine (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Medicine_bonus}]] [[1d20+@{Medicine_bonus}]] |Nature,Nature (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{nature_bonus}]] [[1d20+@{nature_bonus}]] |Perception,Perception (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Perception_bonus}]] [[1d20+@{Perception_bonus}]] |Performance,Performance (Cha)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Performance_bonus}]] [[1d20+@{Performance_bonus}]] |Persuasion,Persuasion (Cha)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Persuasion_bonus}]] [[1d20+@{Persuasion_bonus}]] |Religion,Religion (Int)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Religion_bonus}]] [[1d20+@{Religion_bonus}]] |Sleight of Hand,Sleight of Hand (Dex)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Sleight_of_Hand_bonus}]] [[1d20+@{Sleight_of_Hand_bonus}]] |Stealth,Stealth (Dex)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Stealth_bonus}]] [[1d20+@{Stealth_bonus}]] |Survival,Survival (Wis)&amp;#125;&amp;#125; &amp;#123;&amp;#123;[[1d20+@{Survival_bonus}]] [[1d20+@{Survival_bonus}]] }}}
Thank you! that fixed it!&nbsp; Good to know about the lines, i'll keep that in mind for next time. Appreciate you taking the time!