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

d&d 5e OGL sheet roll selecting meta macro help needed!

I'm trying to create a series of macros to make life a bit easier for my players, I've got a series of macros such as skill checks, saving throws etc. They all work individually but then I wanted to create a single macro that can call the others. I nicked these from another post (which I can't find the link to now) My macro for skill check for example is: #skills /w @{selected|character_name} &{template:npcaction} {{rname=Skill Checks}} {{description=Select Skill Check [Acrobatics](~selected|acrobatics) [Animal Handling](~selected|animal_handling) [Arcana](~selected|animal_handling) [Athletics](~selected|athletics) [Deception](~selected|deception) [History](~selected|history) [Insight](~selected|insight) [Intimidation](~selected|intimidation) [Investigation](~selected|investigation) [Medicine](~selected|medicine) [Monster](~Macros|monster) [Nature](~selected|nature) [Perception](~selected|perception) [Performance](~selected|performance) [Persuasion](~selected|persuasion) [Religion](~selected|religion) [Sleight of Hand](~selected|sleight_of_hand) [Stealth](~selected|survival) }} and then the meta macro: &{template:npcaction} {{rname=Checks}} {{description=Select type of Roll [Ability Check](~selected|#abilities) [Death Save](~selected|death_save) [Saving Roll](~selected|#saves) [Skill Check](~selected|#skills) }} It does actually work but the person using the macros sees an error message "no ability was found for %{select|#skills}", even though it works:
1470448912

Edited 1470449000
I had no idea that it was possible to call a Settings Macro using an Ability Command Button . While that is a fortunate coincidence, the error message is definitely merited (as Macros are not Abilities ). If you'd like to get rid of the error message, you could replace the Ability Command Buttons with API Command Buttons , e.g.: [Skill Check](!
 #skills) Despite their name, API CBs don't require access to the API to be used in this way. One precaution, however: At this time, reopening a Macro saved under the My Settings tab of the Sidebar causes HTML entities within to be reverted; if the Macro is then saved, so are those reversions. This behaviour is not present within Abilities .
Silvyre said: I had no idea that it was possible to call a Settings Macro using an Ability Command Button . While that is a fortunate coincidence, the error message is definitely merited (as Macros are not Abilities ). If you'd like to get rid of the error message, you could replace the Ability Command Buttons with API Command Buttons , e.g.: [Skill Check](!
 #skills) Despite their name, API CBs don't require access to the API to be used in this way. One precaution, however: At this time, reopening a Macro saved under the My Settings tab of the Sidebar causes HTML entities within to be reverted; if the Macro is then saved, so are those reversions. This behaviour is not present within Abilities . Cheers, that worked perfectly! I'll have a wander through that documentation too, thanks!
One slight issue, I've updated the checks macro to user the format you've suggested /w @{selected|character_name} &{template:npcaction} {{rname=Checks}} {{description=Select type of Roll [Ability Check](!
#abilities) [Death Save](~selected|death_save) [Saving Roll](!
#saves) [Skill Check](!
#skills) }} and it seems to work, but there's a random empty message appearing, so the metacheck macro is whispered, the skill check macro is whispered, but there's a random empty message between them, and the final skill check value is public:
Gabriel B. said: the metacheck macro is whispered, the skill check macro is whispered, but there's a random empty message between them A line break was probably accidentally inserted at the end of the first Macro during recent edits. Gabriel B. said: the final skill check value is public My recommendation is making a similar Command Buttons swaps within the #Macro. e.g. for the #skills macro: /w "@{selected|character_name}" &{template:npcaction} {{rname=Skill Checks}} {{description=Select Skill Check [Acrobatics](!
/w gm %{selected|acrobatics}) [Animal Handling](!
/w gm %{selected|animal_handling}) [Arcana](!
/w gm %{selected|animal_handling}) [Athletics](!
/w gm %{selected|athletics}) [Deception](!
/w gm %{selected|deception}) [History](!
/w gm %{selected|history}) [Insight](!
/w gm %{selected|insight}) [Intimidation](!
/w gm %{selected|intimidation}) [Investigation](!
/w gm %{selected|investigation}) [Medicine](!
/w gm %{selected|medicine}) [Monster](!
/w gm %{Macros|monster}) [Nature](!
/w gm %{selected|nature}) [Perception](!
/w gm %{selected|perception}) [Performance](!
/w gm %{selected|performance}) [Persuasion](!
/w gm %{selected|persuasion}) [Religion](!
/w gm %{selected|religion}) [Sleight of Hand](!
/w gm %{selected|sleight_of_hand}) [Stealth](!
/w gm %{selected|survival}) }} The alternative is changing the General Options for every Character that you want to whisper sheet output to the GM.
Silvyre said: Gabriel B. said: the metacheck macro is whispered, the skill check macro is whispered, but there's a random empty message between them A line break was probably accidentally inserted at the end of the first Macro during recent edits. Gabriel B. said: the final skill check value is public My recommendation is making a similar Command Buttons swaps within the #Macro. e.g. for the #skills macro: /w "@{selected|character_name}" &{template:npcaction} {{rname=Skill Checks}} {{description=Select Skill Check [Acrobatics](!
/w gm %{selected|acrobatics}) [Animal Handling](!
/w gm %{selected|animal_handling}) [Arcana](!
/w gm %{selected|animal_handling}) [Athletics](!
/w gm %{selected|athletics}) [Deception](!
/w gm %{selected|deception}) [History](!
/w gm %{selected|history}) [Insight](!
/w gm %{selected|insight}) [Intimidation](!
/w gm %{selected|intimidation}) [Investigation](!
/w gm %{selected|investigation}) [Medicine](!
/w gm %{selected|medicine}) [Monster](!
/w gm %{Macros|monster}) [Nature](!
/w gm %{selected|nature}) [Perception](!
/w gm %{selected|perception}) [Performance](!
/w gm %{selected|performance}) [Persuasion](!
/w gm %{selected|persuasion}) [Religion](!
/w gm %{selected|religion}) [Sleight of Hand](!
/w gm %{selected|sleight_of_hand}) [Stealth](!
/w gm %{selected|survival}) }} The alternative is changing the General Options for every Character that you want to whisper sheet output to the GM. You're right! there was an extra newline at the end, working perfectly now! Thanks a lot!
Anyone coming along looking for my final solutions: #skills /w @{selected|character_name} &{template:npcaction} {{rname=Skill Checks}} {{description=Select Skill Check [Acrobatics](~selected|acrobatics) [Animal Handling](~selected|animal_handling) [Arcana](~selected|animal_handling) [Athletics](~selected|athletics) [Deception](~selected|deception) [History](~selected|history) [Insight](~selected|insight) [Intimidation](~selected|intimidation) [Investigation](~selected|investigation) [Medicine](~selected|medicine) [Monster](~Macros|monster) [Nature](~selected|nature) [Perception](~selected|perception) [Performance](~selected|performance) [Persuasion](~selected|persuasion) [Religion](~selected|religion) [Sleight of Hand](~selected|sleight_of_hand) [Stealth](~selected|survival) }} #saves /w @{selected|character_name} &{template:npcaction} {{rname=Saving Throw}} {{description=Select Saving Throw [Strength](~selected|strength_save) [Dexterity](~selected|dexterity_save) [Constitution](~selected|constitution_save) [Intelligence](~selected|intelligence_save) [Wisdom](~selected|wisdom_save) [Charisma](~selected|charisma_save) }} #abilities /w @{selected|character_name} &{template:npcaction} {{rname=Ability Checks}} {{description=Select type of Ability Check [Strength](~selected|strength) [Dexterity](~selected|dexterity) [Constitution](~selected|constitution) [Intelligence](~selected|intelligence) [Wisdom](~selected|wisdom) [Charisma](~selected|charisma) }} #checks /w @{selected|character_name} &{template:npcaction} {{rname=Checks}} {{description=Select type of Roll [Ability Check](!
#abilities) [Death Save](~selected|death_save) [Saving Roll](!
#saves) [Skill Check](!
#skills) }}