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

Macro Help Skill check

Hey guys, So I have been working on a Skills macro and I have it nearly finished my only problem is putting bonuses that I get from other players during a certain turn here is what I have so far &{template:default} {{name=Skill Check }} {{?{Skill Name:Thievery, Thievery=[[1d20+@{Character|Training}+@{Character|Half-Level}+@{Character|Dex Mod}]]}}} My problem is when I try to insert something like this into the calculations + ?{Other Bonuses|0} it will pull a drop-down of other skill checks which is not what I want I just want to be able to add like a +1 and have it automatically added into the final summation for the rolls any help/ideas would be awesome thanks
1438032578

Edited 1438032710
Alicia
Sheet Author
I think you had a closing bracket in the wrong place and your prompt equation was set up wrong for a text prompt. Does this do what you want? &{template:default} {{name=Skill Check }} {{?{Skill Name:Thievery|Thievery}=[[1d20+@{Character|Training}+@{Character|Half-Level}+@{Character|Dex Mod}+?{Other Bonuses|0}]] }}
1438035564
Diana P
Pro
Sheet Author
I have not been able to get nested roll queries to work.&nbsp; I think this is related to this bug: <a href="https://app.roll20.net/forum/post/2220058/new-roll" rel="nofollow">https://app.roll20.net/forum/post/2220058/new-roll</a>... Best I can tell, the variable substitutions from the character sheets don't trigger the problem because the values get substituted in before the query happens.
1438035577

Edited 1438035793
Do you have to have the whole equation set up as a text prompt? or can you do it so that the last half is the the input because when I run it now this is what it looks like. So that I can just select the skill because I have a giant macro with every single one looking like my first post equation. I cut out a lot of the skill checks but this is what I am dealing with &{template:default} {{name=Skill Check }} {{?{Skill Name:| Acrobatics, Acrobatics=[[1d20+@{Character|Training}+@{Character|Half-Level}+@{Character|Dex Mod}]]| Arcana, Arcane=[[1d20+@{Character|Half-Level}+@{Character|Int Mod} ]] | Athletics, Athletics=[[1d20+@{Character|Half-Level}+@{Character|Str Mod} ]]| Bluff, Bluff=[[1d20+@{Character|Training}+@{Character|Half-Level}+@{Character|Cha Mod} ]]| Diplomacy, Diplomacy=[[1d20+@{Character|Half-Level}+@{Character|Cha Mod} ]]| Thievery, Thievery=[[1d20+@{Character|Training}+@{Character|Half-Level}+@{Character|Dex Mod}]]}}} like I said it runs fine I just don't know where to have a section for bonuses that other characters will give in a turn and I don't know the coding very well this I got from reading a ton of the forums and messing around with it so try to small words to help lol
1438036363

Edited 1438039898
You can nest roll queries if you use HTML entities in place of nested closing braces, vertical bars and commas. For example, ?{Test| A , 1 | B , ?{B&&#35;124;2&&#35;125; | C , 3} Word of caution: you'll need to save any macro that uses HTML entities as an Ability (rather than as a standard macro within the My Settings tab).
1438037293

Edited 1438037331
Silvyre Thanks a ton that works beautifully and thanks Diana, and Alicia for your input also
1438037535
Diana P
Pro
Sheet Author
Hm.&nbsp; Maybe the vertical bar is interfering with mine.&nbsp; I'll have to try replacing that then.&nbsp; Haven't had sufficient time to figure out exactly what was causing the breaks since I replaced the closing braces, sometimes they seem to work, but not always.&nbsp; :\
1438037581
Alicia
Sheet Author
Glad you got a solution. I haven't played with the queries yet, but it's useful to know about the HTML substitutions.&nbsp;
yea if either of you want to use this macro I'd be happy to post it I'm playing in 4e so I don't know what would need to be done to convert it to a different system
1438038318
Wes
Pro
Sheet Author
On a side note the D&D 4e Character Sheet has It's own template now. More Information Here:&nbsp; Roll20 Wiki: D&D 4e Character Sheet, Roll Template Image of Template Output:
Thanks Wes unfortunately our DM didnt import character sheets so everyone has to make their own macros&nbsp;
1438039294
Wes
Pro
Sheet Author
That is Unfortunate. Well let us know if you need anymore numbers beat into submission!
Will do and thanks again everyone this was my first post and I am ecstatic at the response I got&nbsp;
1438042179

Edited 1438042567
I need to amend my previous statement for the HTML coding it worked fine but when I saved and exited the game it converted into this statement&nbsp;{B|2} which is screwing up the rest of the coding any ideas on how to stop &nbsp;from getting converted into&nbsp;{B|2} whenever I save the macro?
1438042967
Diana P
Pro
Sheet Author
I definitely see the conversion issue with macros saved as General Macros (under the My Settings tab). I have not seen it happen (yet) with macros saved as a character ability under the Attributes & Abilities tab on a character sheet. Maybe try saving it there (and if you don't have a character sheet ask your GM to assign one to you just to keep the macros in?)?
I edited my above post with the [simplest] solution to this issue. Word of caution: you'll need to save any macro that uses HTML entities as an Ability (rather than as a standard macro within the My Settings tab).
thanks Ill ask
Do you need a character sheet to save the macro as an ability
1438043445
Diana P
Pro
Sheet Author
You have to have a character sheet as added by the GM under the Journal tab.&nbsp; (the same place the handouts are kept.)&nbsp; You will have to have permissions to edit that character sheet to be able to save information on it.&nbsp; It does not need to be linked to tokens or anything else. You do not have to have a Character Sheet Template (as added by the GM on the campaigns Settings page).
You do not need a Character Sheet to access the Abilities & Attributes tab of a Character . However, it is necessary that a GM add and assign you a Character.
1438043677

Edited 1438043730
K he put in my token and that fixed it :-D yay! you two are awesome sauce&nbsp;
That's awesome! Why didn't I know of that new dropdown menu? &gt;.&lt; Off-topic, but where can I find the change list if there are any other macro changes?
1438062018
Diana P
Pro
Sheet Author
It's listed in the updates posted in the General On-Topic forum. Ie: <a href="https://app.roll20.net/forum/post/2217049/new-upda" rel="nofollow">https://app.roll20.net/forum/post/2217049/new-upda</a>... It was also listed in a post in the Pro forum when it went on the development server for testing. Though I notice it doesn't seem to be updated in the Wiki yet.&nbsp; I generally watch for Riley's posts to see what gets changed. :)
Wes said: On a side note the D&D 4e Character Sheet has It's own template now. More Information Here:&nbsp; Roll20 Wiki: D&D 4e Character Sheet, Roll Template Wes, would you mind terribly if I used your wiki formatting for that of the 5e Shaped roll template wiki section? I am in process of working on it and your organization is exactly what is needed to convey such information to users. I wanted to ask permission before just outright copying with minor edits. H
1438096672
Wes
Pro
Sheet Author
HLazar said: Wes said: On a side note the D&D 4e Character Sheet has It's own template now. More Information Here:&nbsp; Roll20 Wiki: D&D 4e Character Sheet, Roll Template Wes, would you mind terribly if I used your wiki formatting for that of the 5e Shaped roll template wiki section? I am in process of working on it and your organization is exactly what is needed to convey such information to users. I wanted to ask permission before just outright copying with minor edits. H By all means please do, I'm glad you found it concise. The biggest thing about documenting templates in the wiki is making sure you get the &lt;nowiki&gt;&lt;/nowiki&gt; tags in there to prevent the wiki page from trying to make a template for the wiki.
Wes said: By all means please do, I'm glad you found it concise. The biggest thing about documenting templates in the wiki is making sure you get the &lt;nowiki&gt;&lt;/nowiki&gt; tags in there to prevent the wiki page from trying to make a template for the wiki. Great. Thanks for the tip. H