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.