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 with many levels of nesting, issue on first drop down menu.

So, I made a recent post yesterday for help with another issue with the same macro code. This time is already working properly, but there is something that bugs me. First of all, I'm playing dnd5e with the default sheet from roll20. In resume: The macro creates a dropdown, that gives you choices (only one I made for now is skill checks) which gives you a drop down with the attributes, once you select any it gives you another (last) dropdown with the different skill checks (saving throws or skill saves) and rolls it from the token you selected. The purpose: Not overfilling my macro quick bar :D The issue?: on the first drop down menu it should only give the "Skill Check" or the "Label 2" options. However, it gives 2 extra options, each consisting of everything there is after each option... I thankfully accept any help you can provide! Code: ?{Companion|    Skill check,?{Choose skill|       Strength,?{Look at those muscles|          Saving Throw, [[d20+@{selected|strength_save_bonus}]]|          Athletics, [[d20+@{selected|athletics_bonus}]]        } |              Dexterity,?{Sneaky Sneaaakyyyy|          Saving Throw, [[d20+@{selected|dexterity_save_bonus}]]|          Acrobatics, [[d20+@{selected|acrobatics_bonus}]]|          Sleight of hand, [[d20+@{selected|sleight_of_hand_bonus}]]|          Stealth, [[d20+@{selected|stealth_bonus}]]       } |       Constitution, [[d20+@{selected|constitution_save_bonus}]]|       Intelligence,?{uhumm actually🤓|          Saving Throw, [[d20+@{selected|intelligence_save_bonus}]]|          Arcana, [[d20+@{selected|arcana_bonus}]]|          History, [[d20+@{selected|history_bonus}]]|          Investigation, [[d20+@{selected|investigation_bonus}]]|          Nature, [[d20+@{selected|nature_bonus}]]|          Religionamp;, [[d20+@{selected|religion_bonus}]]       } |       Wisdom,?{A wise man once said|          Saving Throw, [[d20+@{selected|wisdom_save_bonus}]]|          Animal Handling, [[d20+@{selected|animal_handling_bonus}]]|          Insight, [[d20+@{selected|insight_bonus}]]|          Medicine, [[d20+@{selected|medicine_bonus}]]|          Perception, [[d20+@{selected|perception_bonus}]]|          Survival, [[d20+@{selected|survival_bonus}]]       } |       Charisma,?{Stand behind Braum|          Saving Throw, [[d20+@{selected|charisma_save_bonus}]]|          Deception, [[d20+@{selected|deception_bonus}]]|          Intimidation, [[d20+@{selected|intimidation_bonus}]]|          Performance, [[d20+@{selected|performance_bonus}]]|          Persuasion, [[d20+@{selected|persuasion_bonus}]]       }    } |    Label 2,?{value2|value2}  } Pic
1724168105

Edited 1724168341
Gauss
Forum Champion
My suggestion? Either don't reinvent the wheel (grab this from TokenActionMaker) or switch to Chat Menus . HTML substitution of this scale is a royal pain. So much so that most of the folks that can readily do it....don't anymore. It is not worth the time and energy when Chat Menus are so much better.  Here is the TokenActionMaker version of an NPC ability/skill check:  @{wtype}&{template:npc} @{npc_name_flag} @{rtype}?{Ability|Acrobatics,+@{npc_Acrobatics}@{pbd_safe}[Acrobatics]]]}} {{rname=Acrobatics}} {{mod=@{npc_Acrobatics}}} {{r1=[[@{d20} + @{npc_Acrobatics}@{pbd_safe}[Acrobatics]]]|Animal Handling,+@{npc_Animal_Handling}@{pbd_safe}[Animal]]]}} {{rname=Animal Handling}} {{mod=@{npc_Animal_Handling}}} {{r1=[[@{d20} + @{npc_Animal_Handling}@{pbd_safe}[Animal]]]|Arcana,+@{npc_Arcana}@{pbd_safe}[Arcana]]]}} {{rname=Arcana}} {{mod=@{npc_Arcana}}} {{r1=[[@{d20} + @{npc_Arcana}@{pbd_safe}[Arcana]]]|Athletics,+@{npc_Athletics}@{pbd_safe}[Athletics]]]}} {{rname=Athletics}} {{mod=@{npc_Athletics}}} {{r1=[[@{d20} + @{npc_Athletics}@{pbd_safe}[Athletics]]]|Deception,+@{npc_Deception}@{pbd_safe}[Deception]]]}} {{rname=Deception}} {{mod=@{npc_Deception}}} {{r1=[[@{d20} + @{npc_Deception}@{pbd_safe}[Deception]]]|History,+@{npc_History}@{pbd_safe}[History]]]}} {{rname=History}} {{mod=@{npc_History}}} {{r1=[[@{d20} + @{npc_History}@{pbd_safe}[History]]]|Insight,+@{npc_Insight}@{pbd_safe}[Insight]]]}} {{rname=Insight}} {{mod=@{npc_Insight}}} {{r1=[[@{d20} + @{npc_Insight}@{pbd_safe}[Insight]]]|Intimidation,+@{npc_Intimidation}@{pbd_safe}[Intimidation]]]}} {{rname=Intimidation}} {{mod=@{npc_Intimidation}}} {{r1=[[@{d20} + @{npc_Intimidation}@{pbd_safe}[Intimidation]]]|Investigation,+@{npc_Investigation}@{pbd_safe}[Investigation]]]}} {{rname=Investigation}} {{mod=@{npc_Investigation}}} {{r1=[[@{d20} + @{npc_Investigation}@{pbd_safe}[Investigation]]]|Medicine,+@{npc_Medicine}@{pbd_safe}[Medicine]]]}} {{rname=Medicine}} {{mod=@{npc_Medicine}}} {{r1=[[@{d20} + @{npc_Medicine}@{pbd_safe}[Medicine]]]|Nature,+@{npc_Nature}@{pbd_safe}[Nature]]]}} {{rname=Nature}} {{mod=@{npc_Nature}}} {{r1=[[@{d20} + @{npc_Nature}@{pbd_safe}[Nature]]]|Perception,+@{npc_Perception}@{pbd_safe}[Perception]]]}} {{rname=Perception}} {{mod=@{npc_Perception}}} {{r1=[[@{d20} + @{npc_Perception}@{pbd_safe}[Perception]]]|Performance,+@{npc_Performance}@{pbd_safe}[Performance]]]}} {{rname=Performance}} {{mod=@{npc_Performance}}} {{r1=[[@{d20} + @{npc_Performance}@{pbd_safe}[Performance]]]|Persuasion,+@{npc_Persuasion}@{pbd_safe}[Persuasion]]]}} {{rname=Persuasion}} {{mod=@{npc_Persuasion}}} {{r1=[[@{d20} + @{npc_Persuasion}@{pbd_safe}[Persuasion]]]|Religion,+@{npc_Religion}@{pbd_safe}[Religion]]]}} {{rname=Religion}} {{mod=@{npc_Religion}}} {{r1=[[@{d20} + @{npc_Religion}@{pbd_safe}[Religion]]]|Sleight Of Hand,+@{npc_Sleight_Of_Hand}@{pbd_safe}[Sleight]]]}} {{rname=Sleight Of Hand}} {{mod=@{npc_Sleight_Of_Hand}}} {{r1=[[@{d20} + @{npc_Sleight_Of_Hand}@{pbd_safe}[Sleight]]]|Stealth,+@{npc_Stealth}@{pbd_safe}[Stealth]]]}} {{rname=Stealth}} {{mod=@{npc_Stealth}}} {{r1=[[@{d20} + @{npc_Stealth}@{pbd_safe}[Stealth]]]|Survival,+@{npc_Survival}@{pbd_safe}[Survival]]]}} {{rname=Survival}} {{mod=@{npc_Survival}}} {{r1=[[@{d20} + @{npc_Survival}@{pbd_safe}[Survival]]]|Strength,+@{Strength_mod}@{jack_attr}[STR]]]}} {{rname=Strength}} {{mod=@{Strength_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Strength_mod}@{jack_attr}[STR]]]|Dexterity,+@{Dexterity_mod}@{jack_attr}[DEX]]]}} {{rname=Dexterity}} {{mod=@{Dexterity_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Dexterity_mod}@{jack_attr}[DEX]]]|Constitution,+@{Constitution_mod}@{jack_attr}[CON]]]}} {{rname=Constitution}} {{mod=@{Constitution_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Constitution_mod}@{jack_attr}[CON]]]|Intelligence,+@{Intelligence_mod}@{jack_attr}[INT]]]}} {{rname=Intelligence}} {{mod=@{Intelligence_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Intelligence_mod}@{jack_attr}[INT]]]|Wisdom,+@{Wisdom_mod}@{jack_attr}[WIS]]]}} {{rname=Wisdom}} {{mod=@{Wisdom_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Wisdom_mod}@{jack_attr}[WIS]]]|Charisma,+@{Charisma_mod}@{jack_attr}[CHA]]]}} {{rname=Charisma}} {{mod=@{Charisma_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Charisma_mod}@{jack_attr}[CHA]]]}}} {{global=@{global_skill_mod}}} {{type=Check}} {{typec=Check}} @{charname_output} Here is the TokenActionMaker version of a PC ability/skill check:  @{wtype}&{template:simple} @{rtype}?{Ability|Acrobatics,+@{Acrobatics_bonus}@{pbd_safe}[Acrobatics]]]}} {{rname=Acrobatics}} {{mod=@{Acrobatics_bonus}}} {{r1=[[@{d20} + @{Acrobatics_bonus}@{pbd_safe}[Acrobatics]]]|Animal Handling,+@{Animal_Handling_bonus}@{pbd_safe}[Animal]]]}} {{rname=Animal Handling}} {{mod=@{Animal_Handling_bonus}}} {{r1=[[@{d20} + @{Animal_Handling_bonus}@{pbd_safe}[Animal]]]|Arcana,+@{Arcana_bonus}@{pbd_safe}[Arcana]]]}} {{rname=Arcana}} {{mod=@{Arcana_bonus}}} {{r1=[[@{d20} + @{Arcana_bonus}@{pbd_safe}[Arcana]]]|Athletics,+@{Athletics_bonus}@{pbd_safe}[Athletics]]]}} {{rname=Athletics}} {{mod=@{Athletics_bonus}}} {{r1=[[@{d20} + @{Athletics_bonus}@{pbd_safe}[Athletics]]]|Deception,+@{Deception_bonus}@{pbd_safe}[Deception]]]}} {{rname=Deception}} {{mod=@{Deception_bonus}}} {{r1=[[@{d20} + @{Deception_bonus}@{pbd_safe}[Deception]]]|History,+@{History_bonus}@{pbd_safe}[History]]]}} {{rname=History}} {{mod=@{History_bonus}}} {{r1=[[@{d20} + @{History_bonus}@{pbd_safe}[History]]]|Insight,+@{Insight_bonus}@{pbd_safe}[Insight]]]}} {{rname=Insight}} {{mod=@{Insight_bonus}}} {{r1=[[@{d20} + @{Insight_bonus}@{pbd_safe}[Insight]]]|Intimidation,+@{Intimidation_bonus}@{pbd_safe}[Intimidation]]]}} {{rname=Intimidation}} {{mod=@{Intimidation_bonus}}} {{r1=[[@{d20} + @{Intimidation_bonus}@{pbd_safe}[Intimidation]]]|Investigation,+@{Investigation_bonus}@{pbd_safe}[Investigation]]]}} {{rname=Investigation}} {{mod=@{Investigation_bonus}}} {{r1=[[@{d20} + @{Investigation_bonus}@{pbd_safe}[Investigation]]]|Medicine,+@{Medicine_bonus}@{pbd_safe}[Medicine]]]}} {{rname=Medicine}} {{mod=@{Medicine_bonus}}} {{r1=[[@{d20} + @{Medicine_bonus}@{pbd_safe}[Medicine]]]|Nature,+@{Nature_bonus}@{pbd_safe}[Nature]]]}} {{rname=Nature}} {{mod=@{Nature_bonus}}} {{r1=[[@{d20} + @{Nature_bonus}@{pbd_safe}[Nature]]]|Perception,+@{Perception_bonus}@{pbd_safe}[Perception]]]}} {{rname=Perception}} {{mod=@{Perception_bonus}}} {{r1=[[@{d20} + @{Perception_bonus}@{pbd_safe}[Perception]]]|Performance,+@{Performance_bonus}@{pbd_safe}[Performance]]]}} {{rname=Performance}} {{mod=@{Performance_bonus}}} {{r1=[[@{d20} + @{Performance_bonus}@{pbd_safe}[Performance]]]|Persuasion,+@{Persuasion_bonus}@{pbd_safe}[Persuasion]]]}} {{rname=Persuasion}} {{mod=@{Persuasion_bonus}}} {{r1=[[@{d20} + @{Persuasion_bonus}@{pbd_safe}[Persuasion]]]|Religion,+@{Religion_bonus}@{pbd_safe}[Religion]]]}} {{rname=Religion}} {{mod=@{Religion_bonus}}} {{r1=[[@{d20} + @{Religion_bonus}@{pbd_safe}[Religion]]]|Sleight Of Hand,+@{Sleight_Of_Hand_bonus}@{pbd_safe}[Sleight]]]}} {{rname=Sleight Of Hand}} {{mod=@{Sleight_Of_Hand_bonus}}} {{r1=[[@{d20} + @{Sleight_Of_Hand_bonus}@{pbd_safe}[Sleight]]]|Stealth,+@{Stealth_bonus}@{pbd_safe}[Stealth]]]}} {{rname=Stealth}} {{mod=@{Stealth_bonus}}} {{r1=[[@{d20} + @{Stealth_bonus}@{pbd_safe}[Stealth]]]|Survival,+@{Survival_bonus}@{pbd_safe}[Survival]]]}} {{rname=Survival}} {{mod=@{Survival_bonus}}} {{r1=[[@{d20} + @{Survival_bonus}@{pbd_safe}[Survival]]]|Strength,+@{Strength_mod}@{jack_attr}[STR]]]}} {{rname=Strength}} {{mod=@{Strength_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Strength_mod}@{jack_attr}[STR]]]|Dexterity,+@{Dexterity_mod}@{jack_attr}[DEX]]]}} {{rname=Dexterity}} {{mod=@{Dexterity_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Dexterity_mod}@{jack_attr}[DEX]]]|Constitution,+@{Constitution_mod}@{jack_attr}[CON]]]}} {{rname=Constitution}} {{mod=@{Constitution_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Constitution_mod}@{jack_attr}[CON]]]|Intelligence,+@{Intelligence_mod}@{jack_attr}[INT]]]}} {{rname=Intelligence}} {{mod=@{Intelligence_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Intelligence_mod}@{jack_attr}[INT]]]|Wisdom,+@{Wisdom_mod}@{jack_attr}[WIS]]]}} {{rname=Wisdom}} {{mod=@{Wisdom_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Wisdom_mod}@{jack_attr}[WIS]]]|Charisma,+@{Charisma_mod}@{jack_attr}[CHA]]]}} {{rname=Charisma}} {{mod=@{Charisma_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Charisma_mod}@{jack_attr}[CHA]]]}}} {{global=@{global_skill_mod}}} {{type=Check}} {{typec=Check}} @{charname_output}
You forgot some html substitutions for Charisma and Label 2, I went ahead and fixed those for you: ?{Companion|    Skill check,?{Choose skill|       Strength,?{Look at those muscles|          Saving Throw, [[d20+@{selected|strength_save_bonus}]]|          Athletics, [[d20+@{selected|athletics_bonus}]]        } |       Dexterity,?{Sneaky Sneaaakyyyy|          Saving Throw, [[d20+@{selected|dexterity_save_bonus}]]|          Acrobatics, [[d20+@{selected|acrobatics_bonus}]]|          Sleight of hand, [[d20+@{selected|sleight_of_hand_bonus}]]|          Stealth, [[d20+@{selected|stealth_bonus}]]       } |       Constitution, [[d20+@{selected|constitution_save_bonus}]]|       Intelligence,?{uhumm actually邏|          Saving Throw, [[d20+@{selected|intelligence_save_bonus}]]|          Arcana, [[d20+@{selected|arcana_bonus}]]|          History, [[d20+@{selected|history_bonus}]]|          Investigation, [[d20+@{selected|investigation_bonus}]]|          Nature, [[d20+@{selected|nature_bonus}]]|          Religionamp;, [[d20+@{selected|religion_bonus}]]       } |       Wisdom,?{A wise man once said|          Saving Throw, [[d20+@{selected|wisdom_save_bonus}]]|          Animal Handling, [[d20+@{selected|animal_handling_bonus}]]|          Insight, [[d20+@{selected|insight_bonus}]]|          Medicine, [[d20+@{selected|medicine_bonus}]]|          Perception, [[d20+@{selected|perception_bonus}]]|          Survival, [[d20+@{selected|survival_bonus}]]       } |       Charisma,?{Stand behind Braum|          Saving Throw, [[d20+@{selected|charisma_save_bonus}]]|          Deception, [[d20+@{selected|deception_bonus}]]|          Intimidation, [[d20+@{selected|intimidation_bonus}]]|          Performance, [[d20+@{selected|performance_bonus}]]|          Persuasion, [[d20+@{selected|persuasion_bonus}]]       }  }|    Label 2,?{value2|value2}  }
1724170863
timmaugh
Forum Champion
API Scripter
Nested queries... I will second what Gauss said: Chat Menus are your friend. =D
First thank you all guys for your reply! timmaugh said: Nested queries... I will second what Gauss said: Chat Menus are your friend. =D This was hilarious! made my day :) About using chat menus, I already considered. But let's say I am a bit of a man that likes dificulties (as long as they're possible). I am already working on a chat menu version for a friend from the same table, you might see a post about it (I'm very clumsy heh) Tuo said: You forgot some html substitutions for Charisma and Label 2, I went ahead and fixed those for you: ?{Companion|    Skill check,?{Choose skill|       Strength,?{Look at those muscles|          Saving Throw, [[d20+@{selected|strength_save_bonus}]]|          Athletics, [[d20+@{selected|athletics_bonus}]]        } |       Dexterity,?{Sneaky Sneaaakyyyy|          Saving Throw, [[d20+@{selected|dexterity_save_bonus}]]|          Acrobatics, [[d20+@{selected|acrobatics_bonus}]]|          Sleight of hand, [[d20+@{selected|sleight_of_hand_bonus}]]|          Stealth, [[d20+@{selected|stealth_bonus}]]       } |       Constitution, [[d20+@{selected|constitution_save_bonus}]]|       Intelligence,?{uhumm actually邏|          Saving Throw, [[d20+@{selected|intelligence_save_bonus}]]|          Arcana, [[d20+@{selected|arcana_bonus}]]|          History, [[d20+@{selected|history_bonus}]]|          Investigation, [[d20+@{selected|investigation_bonus}]]|          Nature, [[d20+@{selected|nature_bonus}]]|          Religionamp;, [[d20+@{selected|religion_bonus}]]       } |       Wisdom,?{A wise man once said|          Saving Throw, [[d20+@{selected|wisdom_save_bonus}]]|          Animal Handling, [[d20+@{selected|animal_handling_bonus}]]|          Insight, [[d20+@{selected|insight_bonus}]]|          Medicine, [[d20+@{selected|medicine_bonus}]]|          Perception, [[d20+@{selected|perception_bonus}]]|          Survival, [[d20+@{selected|survival_bonus}]]       } |       Charisma,?{Stand behind Braum|          Saving Throw, [[d20+@{selected|charisma_save_bonus}]]|          Deception, [[d20+@{selected|deception_bonus}]]|          Intimidation, [[d20+@{selected|intimidation_bonus}]]|          Performance, [[d20+@{selected|performance_bonus}]]|          Persuasion, [[d20+@{selected|persuasion_bonus}]]       }  }|    Label 2,?{value2|value2}  } Also thank you again Tuo for your help Tuo!  Gauss said: My suggestion? Either don't reinvent the wheel (grab this from TokenActionMaker) or switch to Chat Menus . HTML substitution of this scale is a royal pain. So much so that most of the folks that can readily do it....don't anymore. It is not worth the time and energy when Chat Menus are so much better.  Here is the TokenActionMaker version of an NPC ability/skill check:  @{wtype}&{template:npc} @{npc_name_flag} @{rtype}?{Ability|Acrobatics,+@{npc_Acrobatics}@{pbd_safe}[Acrobatics]]]}} {{rname=Acrobatics}} {{mod=@{npc_Acrobatics}}} {{r1=[[@{d20} + @{npc_Acrobatics}@{pbd_safe}[Acrobatics]]]|Animal Handling,+@{npc_Animal_Handling}@{pbd_safe}[Animal]]]}} {{rname=Animal Handling}} {{mod=@{npc_Animal_Handling}}} {{r1=[[@{d20} + @{npc_Animal_Handling}@{pbd_safe}[Animal]]]|Arcana,+@{npc_Arcana}@{pbd_safe}[Arcana]]]}} {{rname=Arcana}} {{mod=@{npc_Arcana}}} {{r1=[[@{d20} + @{npc_Arcana}@{pbd_safe}[Arcana]]]|Athletics,+@{npc_Athletics}@{pbd_safe}[Athletics]]]}} {{rname=Athletics}} {{mod=@{npc_Athletics}}} {{r1=[[@{d20} + @{npc_Athletics}@{pbd_safe}[Athletics]]]|Deception,+@{npc_Deception}@{pbd_safe}[Deception]]]}} {{rname=Deception}} {{mod=@{npc_Deception}}} {{r1=[[@{d20} + @{npc_Deception}@{pbd_safe}[Deception]]]|History,+@{npc_History}@{pbd_safe}[History]]]}} {{rname=History}} {{mod=@{npc_History}}} {{r1=[[@{d20} + @{npc_History}@{pbd_safe}[History]]]|Insight,+@{npc_Insight}@{pbd_safe}[Insight]]]}} {{rname=Insight}} {{mod=@{npc_Insight}}} {{r1=[[@{d20} + @{npc_Insight}@{pbd_safe}[Insight]]]|Intimidation,+@{npc_Intimidation}@{pbd_safe}[Intimidation]]]}} {{rname=Intimidation}} {{mod=@{npc_Intimidation}}} {{r1=[[@{d20} + @{npc_Intimidation}@{pbd_safe}[Intimidation]]]|Investigation,+@{npc_Investigation}@{pbd_safe}[Investigation]]]}} {{rname=Investigation}} {{mod=@{npc_Investigation}}} {{r1=[[@{d20} + @{npc_Investigation}@{pbd_safe}[Investigation]]]|Medicine,+@{npc_Medicine}@{pbd_safe}[Medicine]]]}} {{rname=Medicine}} {{mod=@{npc_Medicine}}} {{r1=[[@{d20} + @{npc_Medicine}@{pbd_safe}[Medicine]]]|Nature,+@{npc_Nature}@{pbd_safe}[Nature]]]}} {{rname=Nature}} {{mod=@{npc_Nature}}} {{r1=[[@{d20} + @{npc_Nature}@{pbd_safe}[Nature]]]|Perception,+@{npc_Perception}@{pbd_safe}[Perception]]]}} {{rname=Perception}} {{mod=@{npc_Perception}}} {{r1=[[@{d20} + @{npc_Perception}@{pbd_safe}[Perception]]]|Performance,+@{npc_Performance}@{pbd_safe}[Performance]]]}} {{rname=Performance}} {{mod=@{npc_Performance}}} {{r1=[[@{d20} + @{npc_Performance}@{pbd_safe}[Performance]]]|Persuasion,+@{npc_Persuasion}@{pbd_safe}[Persuasion]]]}} {{rname=Persuasion}} {{mod=@{npc_Persuasion}}} {{r1=[[@{d20} + @{npc_Persuasion}@{pbd_safe}[Persuasion]]]|Religion,+@{npc_Religion}@{pbd_safe}[Religion]]]}} {{rname=Religion}} {{mod=@{npc_Religion}}} {{r1=[[@{d20} + @{npc_Religion}@{pbd_safe}[Religion]]]|Sleight Of Hand,+@{npc_Sleight_Of_Hand}@{pbd_safe}[Sleight]]]}} {{rname=Sleight Of Hand}} {{mod=@{npc_Sleight_Of_Hand}}} {{r1=[[@{d20} + @{npc_Sleight_Of_Hand}@{pbd_safe}[Sleight]]]|Stealth,+@{npc_Stealth}@{pbd_safe}[Stealth]]]}} {{rname=Stealth}} {{mod=@{npc_Stealth}}} {{r1=[[@{d20} + @{npc_Stealth}@{pbd_safe}[Stealth]]]|Survival,+@{npc_Survival}@{pbd_safe}[Survival]]]}} {{rname=Survival}} {{mod=@{npc_Survival}}} {{r1=[[@{d20} + @{npc_Survival}@{pbd_safe}[Survival]]]|Strength,+@{Strength_mod}@{jack_attr}[STR]]]}} {{rname=Strength}} {{mod=@{Strength_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Strength_mod}@{jack_attr}[STR]]]|Dexterity,+@{Dexterity_mod}@{jack_attr}[DEX]]]}} {{rname=Dexterity}} {{mod=@{Dexterity_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Dexterity_mod}@{jack_attr}[DEX]]]|Constitution,+@{Constitution_mod}@{jack_attr}[CON]]]}} {{rname=Constitution}} {{mod=@{Constitution_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Constitution_mod}@{jack_attr}[CON]]]|Intelligence,+@{Intelligence_mod}@{jack_attr}[INT]]]}} {{rname=Intelligence}} {{mod=@{Intelligence_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Intelligence_mod}@{jack_attr}[INT]]]|Wisdom,+@{Wisdom_mod}@{jack_attr}[WIS]]]}} {{rname=Wisdom}} {{mod=@{Wisdom_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Wisdom_mod}@{jack_attr}[WIS]]]|Charisma,+@{Charisma_mod}@{jack_attr}[CHA]]]}} {{rname=Charisma}} {{mod=@{Charisma_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Charisma_mod}@{jack_attr}[CHA]]]}}} {{global=@{global_skill_mod}}} {{type=Check}} {{typec=Check}} @{charname_output} Here is the TokenActionMaker version of a PC ability/skill check:  @{wtype}&{template:simple} @{rtype}?{Ability|Acrobatics,+@{Acrobatics_bonus}@{pbd_safe}[Acrobatics]]]}} {{rname=Acrobatics}} {{mod=@{Acrobatics_bonus}}} {{r1=[[@{d20} + @{Acrobatics_bonus}@{pbd_safe}[Acrobatics]]]|Animal Handling,+@{Animal_Handling_bonus}@{pbd_safe}[Animal]]]}} {{rname=Animal Handling}} {{mod=@{Animal_Handling_bonus}}} {{r1=[[@{d20} + @{Animal_Handling_bonus}@{pbd_safe}[Animal]]]|Arcana,+@{Arcana_bonus}@{pbd_safe}[Arcana]]]}} {{rname=Arcana}} {{mod=@{Arcana_bonus}}} {{r1=[[@{d20} + @{Arcana_bonus}@{pbd_safe}[Arcana]]]|Athletics,+@{Athletics_bonus}@{pbd_safe}[Athletics]]]}} {{rname=Athletics}} {{mod=@{Athletics_bonus}}} {{r1=[[@{d20} + @{Athletics_bonus}@{pbd_safe}[Athletics]]]|Deception,+@{Deception_bonus}@{pbd_safe}[Deception]]]}} {{rname=Deception}} {{mod=@{Deception_bonus}}} {{r1=[[@{d20} + @{Deception_bonus}@{pbd_safe}[Deception]]]|History,+@{History_bonus}@{pbd_safe}[History]]]}} {{rname=History}} {{mod=@{History_bonus}}} {{r1=[[@{d20} + @{History_bonus}@{pbd_safe}[History]]]|Insight,+@{Insight_bonus}@{pbd_safe}[Insight]]]}} {{rname=Insight}} {{mod=@{Insight_bonus}}} {{r1=[[@{d20} + @{Insight_bonus}@{pbd_safe}[Insight]]]|Intimidation,+@{Intimidation_bonus}@{pbd_safe}[Intimidation]]]}} {{rname=Intimidation}} {{mod=@{Intimidation_bonus}}} {{r1=[[@{d20} + @{Intimidation_bonus}@{pbd_safe}[Intimidation]]]|Investigation,+@{Investigation_bonus}@{pbd_safe}[Investigation]]]}} {{rname=Investigation}} {{mod=@{Investigation_bonus}}} {{r1=[[@{d20} + @{Investigation_bonus}@{pbd_safe}[Investigation]]]|Medicine,+@{Medicine_bonus}@{pbd_safe}[Medicine]]]}} {{rname=Medicine}} {{mod=@{Medicine_bonus}}} {{r1=[[@{d20} + @{Medicine_bonus}@{pbd_safe}[Medicine]]]|Nature,+@{Nature_bonus}@{pbd_safe}[Nature]]]}} {{rname=Nature}} {{mod=@{Nature_bonus}}} {{r1=[[@{d20} + @{Nature_bonus}@{pbd_safe}[Nature]]]|Perception,+@{Perception_bonus}@{pbd_safe}[Perception]]]}} {{rname=Perception}} {{mod=@{Perception_bonus}}} {{r1=[[@{d20} + @{Perception_bonus}@{pbd_safe}[Perception]]]|Performance,+@{Performance_bonus}@{pbd_safe}[Performance]]]}} {{rname=Performance}} {{mod=@{Performance_bonus}}} {{r1=[[@{d20} + @{Performance_bonus}@{pbd_safe}[Performance]]]|Persuasion,+@{Persuasion_bonus}@{pbd_safe}[Persuasion]]]}} {{rname=Persuasion}} {{mod=@{Persuasion_bonus}}} {{r1=[[@{d20} + @{Persuasion_bonus}@{pbd_safe}[Persuasion]]]|Religion,+@{Religion_bonus}@{pbd_safe}[Religion]]]}} {{rname=Religion}} {{mod=@{Religion_bonus}}} {{r1=[[@{d20} + @{Religion_bonus}@{pbd_safe}[Religion]]]|Sleight Of Hand,+@{Sleight_Of_Hand_bonus}@{pbd_safe}[Sleight]]]}} {{rname=Sleight Of Hand}} {{mod=@{Sleight_Of_Hand_bonus}}} {{r1=[[@{d20} + @{Sleight_Of_Hand_bonus}@{pbd_safe}[Sleight]]]|Stealth,+@{Stealth_bonus}@{pbd_safe}[Stealth]]]}} {{rname=Stealth}} {{mod=@{Stealth_bonus}}} {{r1=[[@{d20} + @{Stealth_bonus}@{pbd_safe}[Stealth]]]|Survival,+@{Survival_bonus}@{pbd_safe}[Survival]]]}} {{rname=Survival}} {{mod=@{Survival_bonus}}} {{r1=[[@{d20} + @{Survival_bonus}@{pbd_safe}[Survival]]]|Strength,+@{Strength_mod}@{jack_attr}[STR]]]}} {{rname=Strength}} {{mod=@{Strength_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Strength_mod}@{jack_attr}[STR]]]|Dexterity,+@{Dexterity_mod}@{jack_attr}[DEX]]]}} {{rname=Dexterity}} {{mod=@{Dexterity_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Dexterity_mod}@{jack_attr}[DEX]]]|Constitution,+@{Constitution_mod}@{jack_attr}[CON]]]}} {{rname=Constitution}} {{mod=@{Constitution_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Constitution_mod}@{jack_attr}[CON]]]|Intelligence,+@{Intelligence_mod}@{jack_attr}[INT]]]}} {{rname=Intelligence}} {{mod=@{Intelligence_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Intelligence_mod}@{jack_attr}[INT]]]|Wisdom,+@{Wisdom_mod}@{jack_attr}[WIS]]]}} {{rname=Wisdom}} {{mod=@{Wisdom_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Wisdom_mod}@{jack_attr}[WIS]]]|Charisma,+@{Charisma_mod}@{jack_attr}[CHA]]]}} {{rname=Charisma}} {{mod=@{Charisma_mod}@{jack_bonus}}} {{r1=[[ @{d20} + @{Charisma_mod}@{jack_attr}[CHA]]]}}} {{global=@{global_skill_mod}}} {{type=Check}} {{typec=Check}} @{charname_output} Thanks for taking the time to do those TokenActionMaker versions. I will surely give them a try and probably keep them around!
1724180305
Gauss
Forum Champion
There was no time taken to do the Token Action Maker versions, they are already done, and not by me. They are created by the TokenActionMaker script. 
1724186595
GiGs
Pro
Sheet Author
API Scripter
timmaugh said: Nested queries... I will second what Gauss said: Chat Menus are your friend. =D That is such a perfect response to questions about nested queries.
1724201957
timmaugh
Forum Champion
API Scripter
GiGs said: timmaugh said: Nested queries... I will second what Gauss said: Chat Menus are your friend. =D That is such a perfect response to questions about nested queries. =D