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

Working macro fails when copied and pasted into a new macro??? (Pathfinder by Roll20 sheet)

1657474048

Edited 1657474513
A while ago, I created a macro for skills and another for saves that I set as token actions that pop up on all tokens. That way I can quickly and easily access saves or skills for that token, without having to open the character sheet. Here are the macros: Saves Macro ?{Which Save?| Fortitude, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Fortitude}}{{type=save}}{{roll=[[1d20+@{Selected|fortitude}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|fortitude_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}} | Reflex, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Reflex}}{{type=save}}{{roll=[[1d20+@{Selected|reflex}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|reflex_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}} | Will, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Will}}{{type=save}}{{roll=[[1d20+@{Selected|will}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|will_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}} } Skills Macro ?{Which Skill?| Acrobatics, &{template:pc}{{name=Acrobatics}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|acrobatics}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Appraise, &{template:pc}{{name=Appraise}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Appraise}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Bluff, &{template:pc}{{name=Bluff}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Bluff}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Climb, &{template:pc}{{name=Climb}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Climb}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Craft, &{template:pc}{{name=Craft}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Craft}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Diplomacy, &{template:pc}{{name=Diplomacy}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Diplomacy}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Disable Device, &{template:pc}{{name=Disable_Device}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Disable_Device}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Disguise, &{template:pc}{{name=Disguise}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Disguise}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Escape Artist, &{template:pc}{{name=Escape_Artist}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Escape_Artist}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Fly, &{template:pc}{{name=Fly}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Fly}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Handle Animal, &{template:pc}{{name=Handle_Animal}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Handle_Animal}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Heal, &{template:pc}{{name=Heal}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Heal}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Intimidate, &{template:pc}{{name=Intimidate}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Intimidate}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Knowledge - Arcana, &{template:pc}{{name=Knowledge_arcana}} {{type=skill}} {{showchar=[[1]]}}{{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_arcana}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}} | Knowledge - Dungeoneering, &{template:pc}{{name=Knowledge_Dungeoneering}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Dungeoneering}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Engineering, &{template:pc}{{name=Knowledge_Engineering}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Engineering}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Geography, &{template:pc}{{name=Knowledge_Geography}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Geography}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - History, &{template:pc}{{name=Knowledge_History}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_History}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Local, &{template:pc}{{name=Knowledge_Local}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Local}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Nature, &{template:pc}{{name=Knowledge_Nature}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Nature}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Nobility, &{template:pc}{{name=Knowledge_Nobility}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Nobility}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Planes, &{template:pc}{{name=Knowledge_Planes}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Planes}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Knowledge - Religion, &{template:pc}{{name=Knowledge_Religion}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Knowledge_Religion}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Linguistics, &{template:pc}{{name=Linguistics}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Linguistics}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Perception, &{template:pc}{{name=Perception}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Perception}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Perform, &{template:pc}{{name=Perform}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Perform}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Profession, &{template:pc}{{name=Profession}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Profession}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Ride, &{template:pc}{{name=Ride}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Ride}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Sense Motive, &{template:pc}{{name=Sense_Motive}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Sense_Motive}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Sleight of Hand, &{template:pc}{{name=Sleight_of_Hand}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Sleight_of_Hand}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Spellcraft, &{template:pc}{{name=Spellcraft}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|spellcraft}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Stealth, &{template:pc}{{name=Stealth}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Stealth}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Survival, &{template:pc}{{name=Survival}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Survival}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Swim, &{template:pc}{{name=Swim}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|Swim}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} | Use Magic Device, &{template:pc}{{name=Use_magic_device}} {{type=skill}} {{showchar=[[1]]}} {{charname=@{selected|character_name}}}{{roll=[[1d20+@{selected|use_magic_device}[MOD]+(@{selected|skill_condition})[CONDITION]+ ?{Modifier|0}[QUERY] ]]}} } What the macros do is prompt for which save or skill you want to use, then runs the code as if you had clicked on that save or skill from within the character sheet for the selected character.    Both of these macro work just fine for me. I used them for a campaign that I was GM'ing, but now we have moved campaigns and someone else is GM. He was asking about these 2 macros, so I copied and pasted them for him, but he said he was never able to get them to work. I then copied and pasted them into a new character's token actions and they fail as well. I tried putting them directly on the character, as well as in my macros section to apply to all characters, and I get the same result. For the life of me, I cannot figure out why a copy and paste would not work. As far as I can tell, the code is exactly the same, but one works and one does not. I gave up on it, but decided to come here and ask you guys to see if anyone would be able to help.  Here is a screenshot of both macros. The one on the left works without issue, the one on the right was copied and pasted from the one on the left, but fails.    When I say fails, this is what I get when trying to use the newly created macro:   This is the input value box from the one that works:     As I was posting this, I clicked on the test macro button (on the macro that works), instead of using the one on the token action bar, and it failed in the exact same way as the newly created macro.    Anyone know what is going on here? I am completely perplexed. 
1657479861
GiGs
Pro
Sheet Author
API Scripter
Does the skills macr o work? I'm honestly suprised that either saves macro works. You should eliminate all unneccesary line breaks. You should not have this on its own line: | It looks like you have unneccesary line breaks bothr before and after those. Generally speaking the | should be at the end of a full line, and you can have a single linebreak after, so it looks something like this: ?{Which Save?| Fortitude, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Fortitude}}{{type=save}}{{roll=[[1d20+@{Selected|fortitude}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|fortitude_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}}| Reflex, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Reflex}}{{type=save}}{{roll=[[1d20+@{Selected|reflex}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|reflex_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}}| Will, &{template:pc}{{showchar=[[1]]}}{{charname=@{Selected|character_name}}} {{name=Will}}{{type=save}}{{roll=[[1d20+@{Selected|will}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier|0}[QUERY]]]}}{{notes=@{Selected|will_notes}}}{{conditionsflag=[[@{Selected|saves_condition}]]}}{{conditions=@{Selected|conditions_display}}}}
1657480075
GiGs
Pro
Sheet Author
API Scripter
Looking at the skills macro - that won't work either. It might have worked in that past, because it was originally saved with html entities, as descried here: <a href="https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries" rel="nofollow">https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries</a> But opening the macro removed those html entities. This is why your save macro used to work but stopped working - because you have opened the macro, and the html entities have been erased. I'd go back to the origianl source for those macros, and copy them again - otherwise you'll need to manually replace a lot of characters.
I think GIGs is correct with the line breaks issue. I recently had an issue with a macro failing after a copy and past but i used a different mechanism. I actually wrote the macro in an excel text box. Copied the text and pasted into Roll20 but it fell over. Seemed the copy included line breaks put in by excel word wrap. These never showed up in Roll20 and didn't cause a line break in Roll20. Had to go and delete characters in that area and retype.
I will try going back to the original and trying that. That actually makes sense. As to the line breaks, they are only there to make it easier for you guys to read.&nbsp; Thank you!
It worked, thank you so much! I knew I had put HTML entries into the code when I first made it, but did not realize roll 20 changes them back when opening the macro. Now it makes perfect sense. I should have turned to you guys a long time ago.&nbsp; Here are the working macros for reference. The line breaks were initially added to make it easier to read, but it works as is, so I left them in.&nbsp; Saves macro: ?{Which Save?| Fortitude, &amp;{template:pc&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{Selected|character_name}&amp;#125;&amp;#125; {{name=Fortitude&amp;#125;&amp;#125;{{type=save&amp;#125;&amp;#125;{{roll=[[1d20+@{Selected|fortitude}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125;{{notes=@{Selected|fortitude_notes}&amp;#125;&amp;#125;{{conditionsflag=[[@{Selected|saves_condition}]]&amp;#125;&amp;#125;{{conditions=@{Selected|conditions_display}&amp;#125;&amp;#125; | Reflex, &amp;{template:pc&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{Selected|character_name}&amp;#125;&amp;#125; {{name=Reflex&amp;#125;&amp;#125;{{type=save&amp;#125;&amp;#125;{{roll=[[1d20+@{Selected|reflex}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125;{{notes=@{Selected|reflex_notes}&amp;#125;&amp;#125;{{conditionsflag=[[@{Selected|saves_condition}]]&amp;#125;&amp;#125;{{conditions=@{Selected|conditions_display}&amp;#125;&amp;#125; | Will, &amp;{template:pc&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{Selected|character_name}&amp;#125;&amp;#125; {{name=Will&amp;#125;&amp;#125;{{type=save&amp;#125;&amp;#125;{{roll=[[1d20+@{Selected|will}[MOD]+(@{Selected|saves_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125;{{notes=@{Selected|will_notes}&amp;#125;&amp;#125;{{conditionsflag=[[@{Selected|saves_condition}]]&amp;#125;&amp;#125;{{conditions=@{Selected|conditions_display}&amp;#125;&amp;#125; } Skills macro: ?{Which Skill?| Acrobatics, &amp;{template:pc&amp;#125;{{name=Acrobatics&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|acrobatics}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Appraise, &amp;{template:pc&amp;#125;{{name=Appraise&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Appraise}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Bluff, &amp;{template:pc&amp;#125;{{name=Bluff&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Bluff}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Climb, &amp;{template:pc&amp;#125;{{name=Climb&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Climb}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Craft, &amp;{template:pc&amp;#125;{{name=Craft&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Craft}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Diplomacy, &amp;{template:pc&amp;#125;{{name=Diplomacy&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Diplomacy}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Disable Device, &amp;{template:pc&amp;#125;{{name=Disable_Device&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Disable_Device}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Disguise, &amp;{template:pc&amp;#125;{{name=Disguise&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Disguise}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Escape Artist, &amp;{template:pc&amp;#125;{{name=Escape_Artist&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Escape_Artist}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Fly, &amp;{template:pc&amp;#125;{{name=Fly&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Fly}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Handle Animal, &amp;{template:pc&amp;#125;{{name=Handle_Animal&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Handle_Animal}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Heal, &amp;{template:pc&amp;#125;{{name=Heal&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Heal}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Intimidate, &amp;{template:pc&amp;#125;{{name=Intimidate&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Intimidate}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Knowledge - Arcana, &amp;{template:pc&amp;#125;{{name=Knowledge_arcana&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_arcana}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Knowledge - Dungeoneering, &amp;{template:pc&amp;#125;{{name=Knowledge_Dungeoneering&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Dungeoneering}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Knowledge - Engineering, &amp;{template:pc&amp;#125;{{name=Knowledge_Engineering&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Engineering}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Knowledge - Geography, &amp;{template:pc&amp;#125;{{name=Knowledge_Geography&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Geography}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Knowledge - History, &amp;{template:pc&amp;#125;{{name=Knowledge_History&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_History}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Knowledge - Local, &amp;{template:pc&amp;#125;{{name=Knowledge_Local&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Local}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Knowledge - Nature, &amp;{template:pc&amp;#125;{{name=Knowledge_Nature&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Nature}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Knowledge - Nobility, &amp;{template:pc&amp;#125;{{name=Knowledge_Nobility&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Nobility}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Knowledge - Planes, &amp;{template:pc&amp;#125;{{name=Knowledge_Planes&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Planes}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Knowledge - Religion, &amp;{template:pc&amp;#125;{{name=Knowledge_Religion&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Knowledge_Religion}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Linguistics, &amp;{template:pc&amp;#125;{{name=Linguistics&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Linguistics}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Perception, &amp;{template:pc&amp;#125;{{name=Perception&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Perception}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Perform, &amp;{template:pc&amp;#125;{{name=Perform&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Perform}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Profession, &amp;{template:pc&amp;#125;{{name=Profession&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Profession}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Ride, &amp;{template:pc&amp;#125;{{name=Ride&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Ride}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Sense Motive, &amp;{template:pc&amp;#125;{{name=Sense_Motive&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Sense_Motive}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Sleight of Hand, &amp;{template:pc&amp;#125;{{name=Sleight_of_Hand&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Sleight_of_Hand}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Spellcraft, &amp;{template:pc&amp;#125;{{name=Spellcraft&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|spellcraft}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Stealth, &amp;{template:pc&amp;#125;{{name=Stealth&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Stealth}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | Survival, &amp;{template:pc&amp;#125;{{name=Survival&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Survival}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Swim, &amp;{template:pc&amp;#125;{{name=Swim&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|Swim}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; | &nbsp;Use Magic Device, &amp;{template:pc&amp;#125;{{name=Use_magic_device&amp;#125;&amp;#125;{{type=skill&amp;#125;&amp;#125;{{showchar=[[1]]&amp;#125;&amp;#125;{{charname=@{selected|character_name}&amp;#125;&amp;#125;{{roll=[[1d20+@{selected|use_magic_device}[MOD]+(@{selected|skill_condition})[CONDITION]+?{Modifier&amp;#124;0&amp;#125;[QUERY]]]&amp;#125;&amp;#125; }
1657568460
GiGs
Pro
Sheet Author
API Scripter
Great! Linebreaks will normally break a rolltemplate, but your templates are ending before the | so that's neat.