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 with skill marco

I have a 3.5 dnd character. I have alot of skills. I would like to create a single button that will do a pop up to allow me to select the skill and then make the roll. on the sheet every time I do it it output the text I want.  ?{skillcheck?|test,@{Lurch board Swing "Marchand"|knowarcanamacro} |} I select test and it output to the screen the correct marco execute. But doesn't execute it.  Outputs: @{Lurch board Swing "Marchand"|knowarcanamacro} Which is what I want if I manual type it runs the macro and produces the effect I want.
1472991981

Edited 1472998552
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Steven, please see the  advanced roll query section of the wiki for details on this. Briefly, you will need to do a lot of html replacement. I've made a  template Google sheet to help automate the process if that will help. EDIT: What is the text of knowarcanamacro?
&{template:DnD35StdRoll} {{skillflag=true}} {{name=@{character_name} }} {{check=[Knowledge](<a href="http://www.dandwiki.com/wiki/SRD:Knowledge_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Knowledge_Skill</a> ) (Engineering) check:}} {{checkroll=[[1d20 + [[@{knowengineer}]] ]] }} {{notes=@{knowengineernote} }} Is the text doesn't seem to work with using your templete? do I need to escape something else? DOing similar to mine it producing the text.(though with this it doing to the input dropdown too) Which makes me think something finished correctly.?
1473021749
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
hmmm, what gets output to chat? and what are you inputting into the spreadsheet?
<a href="https://docs.google.com/spreadsheets/d/17RHWG1Dtf-" rel="nofollow">https://docs.google.com/spreadsheets/d/17RHWG1Dtf-</a>...
Knowledge (Arcana),&{template:DnD35StdRoll {{skillflag=true}} {{name=Lurch board Swing "Marchand"}} {{check= Knowledge (Engineering) check:}} {{checkroll=12}} {{notes=}} } Note it putting this on the input box as well. And I can't seem to select multiple skills They all get put to the skill if I do multiple.&nbsp;
1473022841
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmmm, well, it will only do a drop down if you have multiple possible selections, otherwise everything just gets put into the default input field.
1473023636
Diana P
Pro
Sheet Author
If you want to nest roll queries, you have to escape the html entities which gives you a macro which looks like: ?{Which skill?|Appraise,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Appraise](<a href="http://www.dandwiki.com/wiki/SRD:Appraise_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Appraise_Skill</a> ) check: [[1d20 + [[@{appraise}]] ]] &amp;#125;&amp;#125; |Balance,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Balance](<a href="http://www.dandwiki.com/wiki/SRD:Balance_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Balance_Skill</a> ) check: [[1d20 + [[@{balance}]] ]] &amp;#125;&amp;#125; |Bluff,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Bluff](<a href="http://www.dandwiki.com/wiki/SRD:Bluff_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Bluff_Skill</a> ) check: [[1d20 + [[@{bluff}]] ]] &amp;#125;&amp;#125; |Climb,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Climb](<a href="http://www.dandwiki.com/wiki/SRD:Climb_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Climb_Skill</a> ) check: [[1d20 + [[@{climb}]] ]] &amp;#125;&amp;#125; |Concentration,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Concentration](<a href="http://www.dandwiki.com/wiki/SRD:Concentration_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Concentration_Skill</a> ) check: [[1d20 + [[@{concentration}]] ]] &amp;#125;&amp;#125; |Craft (@{craft1name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Craft](<a href="http://www.dandwiki.com/wiki/SRD:Craft_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Craft_Skill</a> ) (@{craft1name}) check: [[1d20 + [[@{craft1}]] +(?{Artisan&amp;#39;s Tools? &amp;#124;Masterwork&amp;#44;1 &amp;#124;No&amp;#44;-1 &amp;#124;Normal&amp;#44;0 &amp;#125;*2)[Tool Circumstance Bonus] ]] &amp;#125;&amp;#125; |Craft (@{craft2name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Craft](<a href="http://www.dandwiki.com/wiki/SRD:Craft_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Craft_Skill</a> ) (@{craft2name}) check: [[1d20 + [[@{craft2}]] +(?{Artisan&amp;#39;s Tools? &amp;#124;Masterwork&amp;#44;1 &amp;#124;No&amp;#44;-1 &amp;#124;Normal&amp;#44;0 &amp;#125;*2)[Tool Circumstance Bonus] ]] &amp;#125;&amp;#125; |Craft (@{craft3name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Craft](<a href="http://www.dandwiki.com/wiki/SRD:Craft_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Craft_Skill</a> ) (@{craft3name}) check: [[1d20 + [[@{craft3}]] +(?{Artisan&amp;#39;s Tools? &amp;#124;Masterwork&amp;#44;1 &amp;#124;No&amp;#44;-1 &amp;#124;Normal&amp;#44;0 &amp;#125;*2)[Tool Circumstance Bonus] ]] &amp;#125;&amp;#125; |Decipher Script,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Decipher Script*](<a href="http://www.dandwiki.com/wiki/SRD:Decipher_Script_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Decipher_Script_Skill</a> ) check: [[1d20 + @{decipherscript} ]]&amp;#125;&amp;#125;&nbsp; {{notes=If fail&amp;#44; [[1d20 + @{wis-mod} ]] vs dc5 to avoid drawing a false conclusion.&amp;#125;&amp;#125; |Diplomacy,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Diplomacy](<a href="http://www.dandwiki.com/wiki/SRD:Diplomacy_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Diplomacy_Skill</a> ) check: [[1d20 + [[@{diplomacy}]] ]] &amp;#125;&amp;#125; |Disable Device,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Disable Device*](<a href="http://www.dandwiki.com/wiki/SRD:Disable_Device_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Disable_Device_Skill</a> ) check: [[1d20 + [[@{disabledevice}]] ]] &amp;#125;&amp;#125; |Disguise,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Disguise](<a href="http://www.dandwiki.com/wiki/SRD:Disguise_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Disguise_Skill</a> ) check: [[1d20 + [[@{disguise}]] ]] &amp;#125;&amp;#125; |Escape Artist,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Escape Artist](<a href="http://www.dandwiki.com/wiki/SRD:Escape_Artist_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Escape_Artist_Skill</a> ) check: [[1d20 + [[@{escapeartist}]] ]] &amp;#125;&amp;#125; |Forgery,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Forgery](<a href="http://www.dandwiki.com/wiki/SRD:Forgery_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Forgery_Skill</a> ) check: [[1d20 + [[@{forgery}]] ]] &amp;#125;&amp;#125; |Gather Information,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Gather Information](<a href="http://www.dandwiki.com/wiki/SRD:Gather_Information_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Gather_Information_Skill</a> ) check: [[1d20 + [[@{gatherinformation}]] ]] &amp;#125;&amp;#125; |Handle Animal,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Handle Animal*](<a href="http://www.dandwiki.com/wiki/SRD:Handle_Animal_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Handle_Animal_Skill</a> ) check: [[1d20 + [[@{handleanimal}]] ]] &amp;#125;&amp;#125; |Heal,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Heal](<a href="http://www.dandwiki.com/wiki/SRD:Heal_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Heal_Skill</a> ) check: [[1d20 + [[@{heal}]] +(?{Healer&amp;#39;s Kit? &amp;#124;No&amp;#44;0 &amp;#124;Yes&amp;#44;1&amp;#125;*2)[Healer&amp;#39;s Kit Circumstance Bonus] ]] &amp;#125;&amp;#125; |Hide,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Hide](<a href="http://www.dandwiki.com/wiki/SRD:Hide_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Hide_Skill</a> ) check: [[1d20 + [[@{hide}]] ]] &amp;#125;&amp;#125; |Intimidate,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Intimidate](<a href="http://www.dandwiki.com/wiki/SRD:Intimidate_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Intimidate_Skill</a> ) check: [[1d20 + [[@{intimidate}]] ]] &amp;#125;&amp;#125; |Jump,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Jump](<a href="http://www.dandwiki.com/wiki/SRD:Jump_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Jump_Skill</a> ) check: [[1d20 + [[@{jump}]] ]] &amp;#125;&amp;#125; |Listen,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Listen](<a href="http://www.dandwiki.com/wiki/SRD:Listen_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Listen_Skill</a> ) check: [[1d20 + [[@{listen}]] ]] &amp;#125;&amp;#125; |Move Silently,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Move Silently](<a href="http://www.dandwiki.com/wiki/SRD:Move_Silently_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Move_Silently_Skill</a> ) check: [[1d20 + [[@{movesilent}]] ]] &amp;#125;&amp;#125; |Open Lock,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Open Lock*](<a href="http://www.dandwiki.com/wiki/SRD:Open_Lock_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Open_Lock_Skill</a> ) check: [[1d20 + [[@{openlock}]] +(?{Thieves&amp;#39; Tools?&amp;#124;No&amp;#44;-1 &amp;#124;Normal&amp;#44;0 &amp;#124;Masterwork&amp;#44;1&amp;#125;*2))[Tool Circumstance Bonus] ]] &amp;#125;&amp;#125; |Perform (@{perform1name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Perform](<a href="http://www.dandwiki.com/wiki/SRD:Perform_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Perform_Skill</a> ) (@{perform1name}) check: [[1d20 + [[@{perform1}]] +(?{Masterwork Instrument? &amp;#124;No&amp;#44;0 &amp;#124;Yes&amp;#44;1&amp;#125;*2)[Instrument Circumstance Bonus] ]] &amp;#125;&amp;#125; |Perform (@{perform2name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Perform](<a href="http://www.dandwiki.com/wiki/SRD:Perform_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Perform_Skill</a> ) (@{perform2name}) check: [[1d20 + [[@{perform2}]] +(?{Masterwork Instrument? &amp;#124;No&amp;#44;0 &amp;#124;Yes&amp;#44;1&amp;#125;*2)[Instrument Circumstance Bonus] ]] &amp;#125;&amp;#125; |Perform (@{perform3name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Perform](<a href="http://www.dandwiki.com/wiki/SRD:Perform_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Perform_Skill</a> ) (@{perform2name}) check: [[1d20 + [[@{perform3}]] +(?{Masterwork Instrument? &amp;#124;No&amp;#44;0 &amp;#124;Yes&amp;#44;1&amp;#125;*2)[Instrument Circumstance Bonus] ]] &amp;#125;&amp;#125; |Profession (@{profession1name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Profession](<a href="http://www.dandwiki.com/wiki/SRD:Profession_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Profession_Skill</a> ) (@{profession1name})* check: [[1d20 + [[@{profession1}]] ]] &amp;#125;&amp;#125; |Profession (@{profession2name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Profession](<a href="http://www.dandwiki.com/wiki/SRD:Profession_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Profession_Skill</a> ) (@{profession2name})* check: [[1d20 + [[@{profession2}]] ]] &amp;#125;&amp;#125; |Profession (@{profession3name}),&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Profession](<a href="http://www.dandwiki.com/wiki/SRD:Profession_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Profession_Skill</a> ) (@{profession3name})* check: [[1d20 + [[@{profession3}]] ]] &amp;#125;&amp;#125; |Ride,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Ride](<a href="http://www.dandwiki.com/wiki/SRD:Ride_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Ride_Skill</a> ) check: [[1d20 + [[@{ride}]] ]] &amp;#125;&amp;#125; |Search,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Search](<a href="http://www.dandwiki.com/wiki/SRD:Search_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Search_Skill</a> ) check: [[1d20 + [[@{search}]] ]] &amp;#125;&amp;#125; |Sleight of Hand,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Sleight of Hand*](<a href="http://www.dandwiki.com/wiki/SRD:Sleight_of_Hand_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Sleight_of_Hand_Skill</a> ) check: [[1d20 + [[@{sleightofhand}]] ]] &amp;#125;&amp;#125; |Spellcraft,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Spellcraft*](<a href="http://www.dandwiki.com/wiki/SRD:Spellcraft_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Spellcraft_Skill</a> ) check: [[1d20 + [[@{spellcraft}]] ]] &amp;#125;&amp;#125; |Spot,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Spot](<a href="http://www.dandwiki.com/wiki/SRD:Spot_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Spot_Skill</a> ) check: [[1d20 + [[@{spot}]] ]] &amp;#125;&amp;#125; |Survival,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=Survival check: [[1d20 + [[@{survival}]] ]] &amp;#125;&amp;#125; |Swim,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Swim](<a href="http://www.dandwiki.com/wiki/SRD:Swim_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Swim_Skill</a> ) check: [[1d20 + [[@{swim}]] ]] &amp;#125;&amp;#125; |Tumble,&amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Tumble*](<a href="http://www.dandwiki.com/wiki/SRD:Tumble_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Tumble_Skill</a> ) check: [[1d20 + [[@{tumble}]] ]] &amp;#125;&amp;#125; |Use Magic Device,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Use Magic Device*](<a href="http://www.dandwiki.com/wiki/SRD:Use_Magic_Device_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Use_Magic_Device_Skill</a> ) check: [[1d20 + [[@{usemagicdevice}]] ]] &amp;#125;&amp;#125; |Use Rope,/w gm &amp;{template:DnD35StdRoll&amp;#125; {{checkroll=[Use Rope](<a href="http://www.dandwiki.com/wiki/SRD:Use_Rope_Skill" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Use_Rope_Skill</a> ) check: [[1d20 + [[@{userope}]] ]] &amp;#125;&amp;#125; } {{skillflag=true}} {{name=@{selected|character_name}}} {{check= }} I have some more examples which work with the 3.5 sheet in my google doc here: <a href="https://docs.google.com/document/d/1g8fUu5XTvAw8_P" rel="nofollow">https://docs.google.com/document/d/1g8fUu5XTvAw8_P</a>... I separated out the knowledge checks from the rest of the skills to make the macros a bit shorter; the one above is the skills not including the knowledge checks.&nbsp; :)&nbsp;&nbsp;&nbsp; These macros work best saved as an Attribute on the character sheet; they can work saved as a universal macro but the html entities will revert if you try editing it.