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

Universal Chat Menu Whisper menu help

Hello, I had a couple of questions, This is the Macro I have set up for UCM to view character sheet information. I feel pretty pathetic not being able to figure this out, but how would I set up this macro to only whisper the sheet to the person who uses the macro? Would it be something like, ?{Whisper?|Public Roll,|Whisper Roll,/w gm| PlayerA,/w PlayerA|PlayerB,/w PlayerB } ... Also, is it possible to use a PowerCard Macro (PC-Attacks,Cast-Cantrip, Cast-L1Spell) from the UCM? I tried using a ` escape, but the UCM would still automatically execute the macro instead of letting it activate from the chat menu. !chatmenu @{selected|character_id} {template:npcaction}{{rname=@{selected|character_name}}}{{name=@{selected|class_display} @{selected|race_display}, @{selected|background} **Jump** - Long [[(@{selected|strength}/2)]] / [[@{selected|strength}]]ft. | High [[((@{selected|strength_mod}+2)/2)]] / [[@{selected|strength_mod}+2]] ft. **HP: **@{selected|hp} / @{selected|hp|max} | ** AC: ** @{selected|ac} | **Spd: ** @{selected|speed} | **Passive: ** @{selected|passive_wisdom}}}{{description=CHATMENU }} --separator: |    --title:Ability Rolls --**Str @{selected|strength}** *(@{selected|strength_mod})* ,strength|**Dex @{selected|dexterity}** *(@{selected|dexterity_mod})*,dexterity|**Con @{selected|constitution}** *(@{selected|constitution_mod})* ,constitution|**Int @{selected|intelligence}** *(@{selected|intelligence_mod})* ,intelligence|**Wis @{selected|wisdom}** *(@{selected|wisdom_mod})*,wisdom|**Cha @{selected|charisma}** *(@{selected|charisma_mod})*,charisma --title:Saving Throws --Str,strength_save|Dex,dexterity_save|Con,constitution_save|Int,intelligence_save|Wis,wisdom_save|Cha,charisma_save|Death,death_save  --title:Skills --Acrobatics,Acrobatics|Animal Handling,Animal_Handling|Arcana,Arcana|Athletics,Athletics|Deception,Deception|History,History|Insight,Insight|Intimidation,Intimidation|Investigation,Investigation|Medicine,Medicine|Nature,Nature|Perception,Perception|Performance,Performance|Persuasion,Persuasion|Religion,Religion|Sleight of Hand,Sleight_of_Hand|Stealth,Stealth|Survival,survival --title:Languages --repeating_proficiencies|name|output|prof_type=Language --title:Inventory --repeating_inventory|itemname|itemcontent --title:Tools --repeating_tool|toolname|tool  --title:Traits --repeating_traits|name|output|name!Invocation: --title:Eldritch Invocations --repeating_traits|name|output|name=Invocation: --title:Cantrips —  *Save DC @{selected|spell_save_dc}* --repeating_spell-cantrip|spellname|spell|spelldescription --title:Lvl-1 *(@{selected|lvl1_slots_expended}/@{selected|lvl1_slots_total})* --repeating_spell-1|spellname|spell|spelldescription --title:Lvl 2 *(@{selected|lvl2_slots_expended}/@{selected|lvl2_slots_total})* --repeating_spell-2|spellname|spell|spelldescription --title:Lvl 3 *(@{selected|lvl3_slots_expended}/@{selected|lvl3_slots_total})* --repeating_spell-3|spellname|spell|spelldescription --title:Lvl 4 *(@{selected|lvl4_slots_expended}/@{selected|lvl4_slots_total})* --repeating_spell-4|spellname|spell|description --title:Lvl 5 *(@{selected|lvl5_slots_expended}/@{selected|lvl5_slots_total})* --repeating_spell-5|spellname|spell|spelldescription --title:Lvl 6 *(@{selected|lvl6_slots_expended}/@{selected|lvl6_slots_total})* --repeating_spell-6|spellname|spell|spelldescription --title:Lvl 7 *(@{selected|lvl7_slots_expended}/@{selected|lvl7_slots_total})* --repeating_spell-7|spellname|spell|spelldescription --title:Lvl 8 *(@{selected|lvl8_slots_expended}/@{selected|lvl8_slots_total})* --repeating_spell-8|spellname|spell|spelldescription --title:Lvl 9 *(@{selected|lvl9_slots_expended}/@{selected|lvl9_slots_total})* --repeating_spell-9|spellname|spell|spelldescription --title:Use Hit Dice --@{selected|hit_dice} Available,hit_dice|Long Rest,hit_dice --title:Resources (read-only) --@{selected|class_resource_name} *@{selected|class_resource}/@{selected|class_resource|max}|@{selected|other_resource_name} *@{selected|other_resource}/@{selected|other_resource|max }*
1615775069
Kraynic
Pro
Sheet Author
UCM always whispers to the person that enters the command.  At least, that has been my experience so far. As far as power cards goes, I have never used it, so I'm no help there.
1615807417

Edited 1615807436
Thank you :) I wasn't able to test it with a dummy account/another person, so that really helps me out, thanks again Kraynic. I tried putting the macros in the character abilities sheets, ill try to make it work that way when I have a chance to tinker.
1615817964
Kraynic
Pro
Sheet Author
I generally put UCM stuff in global macros, set them as token actions, and then enable the different ones for which players can use them.  For instance, in my Pathfinder game I have an NPC menu which is set for generating rolls from the NPC version of the sheet, so I only enable that for players that have a familiar, mount, animal companion, or that can summon things.
1616021378

Edited 1616106654
GiGs
Pro
Sheet Author
API Scripter
I wrote UCM and have never used power cards, so it is not directly supported. I wasnt planning on running scripts from it, just abilities that are already part of a character sheet. A power card command that is already in a character ability should run, but I havent tested it. So UCM -> Power Card probably works, but Power Card -> UCM wont. I use the global macros method too, it makes it easier to create a genuinely universal macro.
Thanks Gigs, I tried adding a PCMH macro as an ability, but the PCMH macro executes as if it was utilized at the same time as the chat menu, the chat menu breaks. No biggie at all, I have sincerely put your Script to good use, thank you so much for this wonderful API :) It was actually the exact additional API I was looking for.
1616107056
GiGs
Pro
Sheet Author
API Scripter
Getting scripts that both create formatted chat output to work together is always going to be tricky. I have been wondering how to give UCM more flexible formatted output, and letting people set up power cards scriptcards output might be possible one day (dont hold your breath - that would be very unwise). That might be easier than creating my own formatting system, but also might be too much feature creep. keeping the syntax simple is very important to me. Do you know if there's a good beginner's guide for how to set up power card output?
I've learned most of my PowerCard information from Kurt J's YouTube PowerCard Tutorial , the PowerCard Wiki and from asking Kurt :) I almost wonder if UCM would work better with ScriptCards, as Kurt built his own parcer into the API. I'm by no means fluent in coding and just amazed at what you all can do :) Even if it's not a possibility, I'm just happy to have the functionality to help my games like it already does, seriously good work on this API.
1616190842
GiGs
Pro
Sheet Author
API Scripter
Thanks, I appreciate it. I'm very proud of that script, though I'd write it differently now (hopefully better!).
You should be able to set up chat buttons for your Power Cards macros in the titles or a footer parameter, like this: {{ --title:Section [button]('#macro) --repeating_section --footer:}} {{notes= [button]('#macro) }}
Thank you Persephone, I'll try that tomorrow and update :)
1616216335

Edited 1616216425
For some reason, the "--repeating_section-cantrip|spell|spellname|spelldescription" stopped working for me. I have spells 1-9 working, but for some reason, its not reading an "attribute for repeating-spell-cantrip, blah blah. I have lots to work on this weekend tinkering around :p