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

request for help to adjust a macro to be hidden

I've tried inserting /gmroll and /w gm into this macro but nothing is working. Can someone who isn't stumbling around in the dark like me tell me how to do this please? Here is an example of a selection of rolls I'd like the option to hide or not hide (if that's possible): &{template:default}{{name=Balthazar uses Knowledge}}{{?{Knowledge Type| Knowledge, **Knowledge** [[1d6!+@{knowledge_level} [Knowledge] +?{#Mod|0&#125 [Added Mods] ]] | Notice Check, **Notice Check**  [[1d6!+@{knowledge_level} [Knowledge] +@{notice_check_mod} [Notice Check] +?{#Mod|0&#125 [Added Mods] ]] |   Local Knowledge, **Local Knowledge**   [[1d6!+@{knowledge_level} [Knowledge] +@{local_mod} [Local Knowledge] +?{#Mod|0&#125 [Added Mods] ]]}}} {{**Outcome ** [[1d6]]   **Failure ** [[1d6]] }} Thanks for any help sent my way!
1747972624
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
If by hidden, you mean the person executing the roll can't see the result, there isn't really a way to do this without an API script. If API scripts are available in the game (e.g. if you're the gm), then the blindroll script will handle it.
1747988444
GiGs
Pro
Sheet Author
API Scripter
As Scott says, you cant hide a roll from the roller, without a script. If you put /w gm at the start of that, the roller and the GM will see it, but no other players will. It is hidden from the group. (/gmroll is for the roll syntax, where you don't use a rolltemplate., but does the same thing.)
Thanks for the responses! I am a GM (with a Pro account) but with next to no experience with API stuff. I am slowly figuring out macros. What I am looking for is the ability to make a roll for a character I am clicked on as a GM so that the roll is hidden from everyone but me as a GM. I looked in the game settings but am not finding a script there called  "blindroll?" I understand that I can type in a roll in chat and precede it with /w gm to hide it, but what I'd like to do is use the built in Macros I've added to a Character and make those hidden from everyone but me by imbedding "/w gm" in the Macro. I've tried adding /w gm and /gmroll in multiple places in the Macro but the Macro never sees it as a comman--it is interpreting it as text. So what I am specifically asking is if there is a way to insert /w gm into the Macro I've posted to get the macro roll to be visible only to me?
1748048923
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Ah! I see! You're looking for making gm macros. You'd just put the /w gm at the start of that: /w gm  &{template:default}{{name=Balthazar uses Knowledge}}{{?{Knowledge Type| Knowledge, **Knowledge** [[1d6!+@{knowledge_level} [Knowledge] +?{#Mod|0&#125 [Added Mods] ]] | Notice Check, **Notice Check**  [[1d6!+@{knowledge_level} [Knowledge] +@{notice_check_mod} [Notice Check] +?{#Mod|0&#125 [Added Mods] ]] |   Local Knowledge, **Local Knowledge**    [[1d6!+@{knowledge_level} [Knowledge] +@{local_mod} [Local Knowledge] +?{#Mod|0&#125 [Added Mods] ]]}}} {{**Outcome ** [[1d6]]    **Failure ** [[1d6]] }}
Ah! I was trying to do it individually to each one in the list rather than the entire macro. Thanks! That's what I was looking for!
Well now I've been trying to add a fun comment to the roll that everyone can see (without seeing the actual roll) but nothing is working. Is there a way to put the /w gm in the front of the macro like you guys suggested--but then have a comment that is visible (like "GM rolls behind the screen"?)
1748112134

Edited 1748112261
vÍnce
Pro
Sheet Author
Just add a newline at the end of your whispered macro that posts your fun comment(you can have multiple commands within 1 macro, but they need to be on their own line) /em GM rolls behind the screen...
1748112164

Edited 1748112190
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The public part would need to be a new line. Something like: /w gm &{template:default}{{name=Balthazar uses Knowledge}}{{?{Knowledge Type| Knowledge, **Knowledge** [[1d6!+@{knowledge_level} [Knowledge] +?{#Mod|0&#125 [Added Mods] ]] | Notice Check, **Notice Check** [[1d6!+@{knowledge_level} [Knowledge] +@{notice_check_mod} [Notice Check] +?{#Mod|0&#125 [Added Mods] ]] |   Local Knowledge, **Local Knowledge** [[1d6!+@{knowledge_level} [Knowledge] +@{local_mod} [Local Knowledge] +?{#Mod|0&#125 [Added Mods] ]]}}} {{**Outcome ** [[1d6]] **Failure ** [[1d6]] }} /em The GM is determing your fate Heh, sniped by Vince!
Got it--thanks again!