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

HELP! I gave up! Simple macro and quarry prompt for advantage... why is it NOT working?

That macro below looks fine to me - it´s simple but I couldn´t make the popup option for normal/advantage/disadvantage to work properly! Can anyone help this Brazilian enthusiastic, newcomer to Roll20? The macro maybe has some unusable parts... I am almost quitting... It follows, as it is: ___ @{Elliot Night|wtype}&amp;{template:atkdmg} {{mod=-}} {{rname=Thief Tools kit}} {{desc=**THIEF TOOLS KIT** ***Includes**:&nbsp; a small leather case, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, small ropes and sticks, a strong string roll, general keys, caltrops, graphite dust, brushes, spare nails, nuts and bolts and a pair of pliers.* [IMAGE](<a href="https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg" rel="nofollow">https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg</a>)}} @{Elliot Night|wtype}&amp;{template:simple}{{rname=THIEF TOOLS KIT}} {{mod=5}} {{r1=[[@{Elliot Night|d20}+5@{Elliot Night|pbd_safe}]]}} {{query=1}} ?{Advantage?|Normal Roll,{{normal=1}} {{r2=[[0d20|Advantage,{{advantage=1}} {{r2=[[1d20|Disadvantage,{{disadvantage=1}} {{r2=[[1d20}+5@{Elliot Night|pbd_safe}]]}} {{global=@{Elliot Night|global_skill_mod}}} @{Elliot Night|charname_output}&nbsp; &nbsp;{{spelllevel=}} {{innate=}} {{globalattack=@{Elliot Night|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Elliot Night|global_damage_mod_type}}} ammo= @{Elliot Night|charname_output}
1599673251

Edited 1599673367
Andreas J.
Forum Champion
Sheet Author
Translator
No, this isn't a simple macro, that's why you have a hard time fixing it. What sheet is this roll template form? Are you sure you have the sheet in the game you're testing? Only the default roll template works in every game, otherwise it depends on the sheet what roll templates are available. linebreaks in macros is a bad idea, the {{desc=**THIEF TOOLS KIT** could be one of your problems Start testing from 2-3 {{}} sections, and then add one more until the macro breaks. makes it easier to find the problem Show the original macro you based this on, as well as point out the sections you've tried to create yourself. It's best to narrow down this so we know where to look for errors.
1599674244
Kraynic
Pro
Sheet Author
Also, it looks like there are 2 complete macros there.&nbsp; Do they work individually?
1599687392

Edited 1599687554
Hello Mr. J., It´s the confused brazilian guy, I couldn´t quote you again on my original post, I can understand why. So here I am, let me just improve my post: I totally forgot to mention what did I expect from the macro and what is the sheet (5e, standart). My bad. First of all, thank you VERY much for taking your time. As image above (...er, below?), I just want macros to roll my (D&amp;D 5E) Rogue´s famous toolkits. The kit name, a brief description, a conceptual image and the roll itself (with it´s small subs like mod and character´s name). The point here is that I wanted the macros to prompt me before (for whisper rolls and for normal/advantage/disadvantage rolls). Overall, the macro seems to work fine - it gave me what I needed but when the second prompt appears (for normal rolls), that´s where the problem is. I have no idea where the original macro came from - I´ve been copying and pasting them for a couple of hours and it´s kind of alive by now, Dr. Stein´s level. Thank you again. What a community.
I am trying to quopte you on this... 📜🗡Andreas J.🏹📜 said: No, this isn't a simple macro, that's why you have a hard time fixing it. What sheet is this roll template form? Are you sure you have the sheet in the game you're testing? Only the default roll template works in every game, otherwise it depends on the sheet what roll templates are available. linebreaks in macros is a bad idea, the {{desc=**THIEF TOOLS KIT** could be one of your problems Start testing from 2-3 {{}} sections, and then add one more until the macro breaks. makes it easier to find the problem Show the original macro you based this on, as well as point out the sections you've tried to create yourself. It's best to narrow down this so we know where to look for errors.
1599701952

Edited 1599702666
Oosh
Sheet Author
API Scripter
Try this: @{Elliot Night|wtype}&amp;{template:atk} {{rname=Thief Tools kit}} {{desc=**THIEF TOOLS KIT** ***Includes**: a small leather case, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, small ropes and sticks, a strong string roll, general keys, caltrops, graphite dust, brushes, spare nails, nuts and bolts and a pair of pliers.* [IMAGE](<a href="https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg" rel="nofollow">https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg</a>)}} {{mod=5}} {{r1=[[@{Elliot Night|d20}+5@{Elliot Night|pbd_safe}]]}} {{query=1}} @{Elliot Night|rtype} +5@{Elliot Night|pbd_safe}]]}}+5@{Elliot Night|pbd_safe}]]}} {{global=@{Elliot Night|global_skill_mod}}} @{Elliot Night|charname_output} I've removed a bunch of redundant fields, and changed it to the atk template. If you want the roll to be below the description, it will need to be changed to output two separate templates, since all the templates with built-in advantage put the roll at the top. Note the underlined bit - this will call the character sheet's Advantage roll setting, so you need your sheet to be set to Query Advantage. I'm assuming this is how you have the sheet set, if that's how you want this macro to behave. You also might want to change the hard-coded +5 to an Attribute call so you don't need to update it later, in the {{mod}} field, and {{r1}} and after @{rtype}, for example +@{Elliot Night|dexterity_mod}+@{Elliot Night|pb}. Here is another option - first, save this as an Ability macro on Elliot's character sheet, called ToolDesc: &amp;{template:atkdmg}{{desc=**THIEF TOOLS KIT** ***Includes**: a small leather case, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, small ropes and sticks, a strong string roll, general keys, caltrops, graphite dust, brushes, spare nails, nuts and bolts and a pair of pliers.* [IMAGE](<a href="https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg" rel="nofollow">https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg</a>)}} Then create a second macro for your roll, call it anything you wish: @{Elliot Night|wtype}&amp;{template:simple} {{rname=[Thief Tools kit](~Elliot Night|ToolDesc)}} {{query=1}} @{Elliot Night|rtype}+5@{Elliot Night|pbd_safe}]]}}+5@{Elliot Night|pbd_safe}]]}} {{global=@{Elliot Night|global_skill_mod}}} @{Elliot Night|charname_output}{{mod=5}} {{r1=[[@{Elliot Night|d20}+5@{Elliot Night|pbd_safe}]]}} You should now just get the roll, with the option to click on "Thief Tools kit" to show the description - you probably don't need it going to chat every roll.
OOSH is the noise that I made when i hit that button and the magic happened. To everyone who took their time, thank you so much. This worked as smooth as I dreamed. Beyond that, you made it in a way that my understanding of macros improved itself, so I am pretty thankfull, my friend. Your next nat20 is on my behalf! O long life of fair rolls! Oosh said: Try this: @{Elliot Night|wtype}&amp;{template:atk} {{rname=Thief Tools kit}} {{desc=**THIEF TOOLS KIT** ***Includes**: a small leather case, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, small ropes and sticks, a strong string roll, general keys, caltrops, graphite dust, brushes, spare nails, nuts and bolts and a pair of pliers.* [IMAGE](<a href="https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg" rel="nofollow">https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg</a>)}} {{mod=5}} {{r1=[[@{Elliot Night|d20}+5@{Elliot Night|pbd_safe}]]}} {{query=1}} @{Elliot Night|rtype} +5@{Elliot Night|pbd_safe}]]}}+5@{Elliot Night|pbd_safe}]]}} {{global=@{Elliot Night|global_skill_mod}}} @{Elliot Night|charname_output} I've removed a bunch of redundant fields, and changed it to the atk template. If you want the roll to be below the description, it will need to be changed to output two separate templates, since all the templates with built-in advantage put the roll at the top. Note the underlined bit - this will call the character sheet's Advantage roll setting, so you need your sheet to be set to Query Advantage. I'm assuming this is how you have the sheet set, if that's how you want this macro to behave. You also might want to change the hard-coded +5 to an Attribute call so you don't need to update it later, in the {{mod}} field, and {{r1}} and after @{rtype}, for example +@{Elliot Night|dexterity_mod}+@{Elliot Night|pb}. Here is another option - first, save this as an Ability macro on Elliot's character sheet, called ToolDesc: &amp;{template:atkdmg}{{desc=**THIEF TOOLS KIT** ***Includes**: a small leather case, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, small ropes and sticks, a strong string roll, general keys, caltrops, graphite dust, brushes, spare nails, nuts and bolts and a pair of pliers.* [IMAGE](<a href="https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg" rel="nofollow">https://oldschoolroleplaying.com/wp-content/uploads/2019/10/tools-one.jpg</a>)}} Then create a second macro for your roll, call it anything you wish: @{Elliot Night|wtype}&amp;{template:simple} {{rname=[Thief Tools kit](~Elliot Night|ToolDesc)}} {{query=1}} @{Elliot Night|rtype}+5@{Elliot Night|pbd_safe}]]}}+5@{Elliot Night|pbd_safe}]]}} {{global=@{Elliot Night|global_skill_mod}}} @{Elliot Night|charname_output}{{mod=5}} {{r1=[[@{Elliot Night|d20}+5@{Elliot Night|pbd_safe}]]}} You should now just get the roll, with the option to click on "Thief Tools kit" to show the description - you probably don't need it going to chat every roll.
1600226578
Oosh
Sheet Author
API Scripter
Leandro Fogaça said: OOSH is the noise that I made when i hit that button and the magic happened.