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

Whisper rolls in macro

I've started using roll20 recently, and I'm slowly getting a feel for it. To streamline the gameplay a bit, I'm trying to create macros to cut down on the number of clicks required for common actions. The player's macros are getting along nicely, but I'm hitting several snags with the GM ones. So far I've come up with the following: Show NPC clickable actions in chat : /w GM &{template:atk} {{desc=***@{selected|character_name}*** [@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_action) &{noerror} [@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action) &{noerror} [@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_action) &{noerror} [@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_action) &{noerror} }} Quickly roll checks and saves for both PCs and NPCs : /w GM &{template:atk} {{desc=***@{selected|character_name}*** **---------------------------------------------** **Saving Throws** [Strength](~Selected|strength_save) **|** [Dexterity](~Selected|dexterity_save) **|** [Constitution](~Selected|constitution_save) [Intelligence](~Selected|intelligence_save) **|** [Wisdom](~Selected|wisdom_save) **|** [Charisma](~Selected|charisma_save) **---------------------------------------------** **Ability Checks** [Strength](~Selected|strength) **|** [Dexterity](~Selected|dexterity) **|** [Constitution](~Selected|constitution) [Intelligence](~Selected|intelligence) **|** [Wisdom](~Selected|wisdom) **|** [Charisma](~Selected|charisma) **---------------------------------------------** **Lie** Passive Perception: [[@{Selected|passive_wisdom}]] [Insight](~Selected|insight) **|** [Perception](~Selected|perception) **Cheat** [Persuasion](~Selected|persuasion) **|** [Deception](~Selected|deception) **|** [Intimidation](~Selected|intimidation) **|** [Performance](~Selected|performance) **Steal** [Stealth](~Selected|stealth) **|** [Sleight of Hand](~Selected|sleight_of_hand) [@{Selected|repeating_tool_$0_toolname}](~Selected|repeating_tool_$0_tool) &{noerror} }} The ouput is something like this: There are a couple of problems I've run into, I hope someone can give me some pointers to adress them. - &{noerror} works inconsistently. If I use "test macro" no errors are present, but if I use the macro after saving it I get errors like in the screenshot. My workaround, so far, was to split the NPC actions script in 0-1 and 2-3, but it's a really lame workaround. - I cannot target thieve's tools . Workaround was to ask everyone with the appropriate proficiency to move up the tools in the first slot (whi I can target with repeating_tool_$0_tool ) . However this does not work for NPCs, or at least I always get an error, even with &{noerror} (see previous problem) - I cannot directly /w GM the rolls in the table . And that's a real pain. If I have to always open up PCs/NPCs character sheets to always tick the "to GM" option most of the macro's value disappears. This is really important for the Lie/Cheat/Steal block (yes, I use a lot of social combat). I would greatly appreciate any tips you might have.
1589126278
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
1. Try using &{noerror} only once, outside the end of the roll template: /w GM &{template:atk} {{desc=***@{selected|character_name}*** [@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_action) [@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action) [@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_action) [@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_action) }} &{noerror} You'll still get a garbage entry inside the template, but you can ignore those. It will suppress the salmon-colored error messages. 2. NPC sheets don't have tool proficiencies. You would probably need to add something like that manually, using traits. 3. To set up Whisper as the game default: Go to the Campaign Settings Page Choose "Always Whisper Rolls" under the Whisper Rolls to GM in the Default Sheet Settings Save Load your game Go to the settings tab on the right and scroll to the bottom where you will find a button that says Apply Default Settings. Press it. Choose to update the Whisper settings. Wait a minute or two for it to resolve. Have fun!
1589126364
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Also, see if there's anything you can use here: NPC Statblock Chat Menu for D&D 5e sheet — No API required!
Thanks for all the answers, the link was very helpful as well keithcurtis said: 1. Try using &{noerror} only once, outside the end of the roll template: That did the trick for the first script, but not the second. Still, it's a vast improvement, and I can just fiddle with the thieve's tools later. For the thieve's tools, I realized I could just roll dexterity+dexterity_mod+pb ... however I have no idea how to do that :) (~Selected|dexterity+dexterity_mod+pb) does not work at least, nor the various combination of e.g.: @{selected|dexterity_mod} For the whisper rolls, I fear that depriving all my players of all their merry companions' critical failures rolls would take away much enjoyement. In the end I compromised creating a macro containing just /talktomyself. It's a bit unwieldy, but I hope it will work (read: I hope I'll remember to click the relevant button)