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 .
×

Calling an ability with output on visible to GameMaster

Is there any possibility to call an ability of a Character Sheet an have the output (in my case a roll template defined by that character sheet), only visible for the GameMaster? I tried /w gm %{selected|t_ko_sinnenschaerfe-action} and /talktomyself %{selected|t_ko_sinnenschaerfe-action} but none of them worked, it will be shown to all players
1684824982
GiGs
Pro
Sheet Author
API Scripter
How do you know those are shown to all players? They should indeed only be shown to the GM.
Jack B. said: No, you cannot do that. The only way to achieve this is to create a custom roll template that only the GM can see. You can do this by creating a macro that calls the custom roll template and only the GM has access to it. Bad bot.
Jack B. said: No, you cannot do that. The only way to achieve this is to create a custom roll template that only the GM can see. You can do this by creating a macro that calls the custom roll template and only the GM has access to it. I believed you can only create own roll templates, in your own Character Sheet. The game already use Character sheet delivered by Roll20. GiGs said: How do you know those are shown to all players? They should indeed only be shown to the GM. Because another player told me.
/w gm %{selected|t_ko_sinnenschaerfe-action} That should work if the GM is the one who is using the command. What is the content of the 't_ko_sinnenschaerfe-action' ability?&nbsp; &nbsp;What happens if you type run that in chat without the /w gm in front of it? If a player is using that command, it will be visible to both the player and the GM. There is no 'blind' functionality natively built into the Roll20 software, though it might be possible for a specific character sheet to do that, and it's definitely possible for a Mod script to do that. Tobias said: Jack B. said: No, you cannot do that. The only way to achieve this is to create a custom roll template that only the GM can see. You can do this by creating a macro that calls the custom roll template and only the GM has access to it. I believed you can only create own roll templates, in your own Character Sheet. The game already use Character sheet delivered by Roll20. Jack B. is a bot and their response was nonsense. /talktomyself %{selected|t_ko_sinnenschaerfe-action} This will not work.&nbsp;&nbsp; <a href="https://wiki.roll20.net/Text_Chat#Talk_to_Myself_.28.2Ftalktomyself.29" rel="nofollow">https://wiki.roll20.net/Text_Chat#Talk_to_Myself_.28.2Ftalktomyself.29</a> Note: the /talktomyself command and what you want to say must be on different lines and you cannot use it in the same macro as what you want to keep hidden.&nbsp; /talktomyself This is my evil secret plan to steal the gold from my party! /em will steal from [[1d4]] party members! /talktomyself Note: API commands (Pro subscription feature) will not be executed when /talktomyself is on.
I suspect that the charactersheet is doing some weird things, i will talk to sheet’s developer. How can view the content of the ability t_ko_sinnenschaerfe-action? After excution the chat command histories contains: my initial call /w gm %{selected|t_ko_sinnenschaerfe-action} and after that @{Baerach bre Wladuch|gm_roll_opt} &amp;{template:talent} {{name=Sinnenschärfe}} {{wert=[[@{Baerach bre Wladuch|TaW_sinnesscharfe}d1cs0cf2]]}} {{mod=[[?{Erleichterung (−) oder Erschwernis (+)|0}d1cs0cf2]]}} {{stats=[[ [Eigenschaft 1:] [[@{Baerach bre Wladuch|Eigenschaft1sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 2:] [[@{Baerach bre Wladuch|Eigenschaft2sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 3:] [[@{Baerach bre Wladuch|Eigenschaft3sinnesscharfe}]]d1cs0cf2]]}} {{roll=[[3d20cs&lt;@{Baerach bre Wladuch|cs_talent}cf&gt;@{Baerach bre Wladuch|cf_talent}]]}} {{result=[[0]]}} {{criticality=[[0]]}} {{critThresholds=[[[[@{Baerach bre Wladuch|cs_talent}]]d1cs0cf2 + [[@{Baerach bre Wladuch|cf_talent}]]d1cs0cf2]]}} which is the actual (and expected) roll template.
What is the output of @{Baerach bre Wladuch|gm_roll_opt}? I'm still not sure how the character sheet could override the '/w gm' if it is added to the initial command, but perhaps that is what is happening. Are you using this command as the GM and a player is seeing it, or is the player seeing it when they are using the command?
@{Baerach bre Wladuch|gm_roll_opt} outputs nothing The command is used as GM, and all players see it.
Very weird. I wonder if you put in the command manually (instead of calling the ability) if it would work (and if it does then it'll help narrow down the troubleshooting): /w gm @{Baerach bre Wladuch|gm_roll_opt} &amp;{template:talent} {{name=Sinnenschärfe}} {{wert=[[@{Baerach bre Wladuch|TaW_sinnesscharfe}d1cs0cf2]]}} {{mod=[[?{Erleichterung (−) oder Erschwernis (+)|0}d1cs0cf2]]}} {{stats=[[ [Eigenschaft 1:] [[@{Baerach bre Wladuch|Eigenschaft1sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 2:] [[@{Baerach bre Wladuch|Eigenschaft2sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 3:] [[@{Baerach bre Wladuch|Eigenschaft3sinnesscharfe}]]d1cs0cf2]]}} {{roll=[[3d20cs&lt;@{Baerach bre Wladuch|cs_talent}cf&gt;@{Baerach bre Wladuch|cf_talent}]]}} {{result=[[0]]}} {{criticality=[[0]]}} {{critThresholds=[[[[@{Baerach bre Wladuch|cs_talent}]]d1cs0cf2 + [[@{Baerach bre Wladuch|cf_talent}]]d1cs0cf2]]}} And a version that removes the 'gm_roll_opt' in case that is somehow the culprit: /w gm &amp;{template:talent} {{name=Sinnenschärfe}} {{wert=[[@{Baerach bre Wladuch|TaW_sinnesscharfe}d1cs0cf2]]}} {{mod=[[?{Erleichterung (−) oder Erschwernis (+)|0}d1cs0cf2]]}} {{stats=[[ [Eigenschaft 1:] [[@{Baerach bre Wladuch|Eigenschaft1sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 2:] [[@{Baerach bre Wladuch|Eigenschaft2sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 3:] [[@{Baerach bre Wladuch|Eigenschaft3sinnesscharfe}]]d1cs0cf2]]}} {{roll=[[3d20cs&lt;@{Baerach bre Wladuch|cs_talent}cf&gt;@{Baerach bre Wladuch|cf_talent}]]}} {{result=[[0]]}} {{criticality=[[0]]}} {{critThresholds=[[[[@{Baerach bre Wladuch|cs_talent}]]d1cs0cf2 + [[@{Baerach bre Wladuch|cf_talent}]]d1cs0cf2]]}} Another sanity check question: none of your players are promoted Co-GMs, right? If they are then they will get all the GM whispers. (I'm 99% sure this isn't the case, but it doesn't hurt to ask!)
I'm also seeing a recent bug fix on the Changelog that sounds like it might be what happened here?&nbsp; <a href="https://help.roll20.net/hc/en-us/articles/360037772613-Change-Log#may-22-2023-0-1" rel="nofollow">https://help.roll20.net/hc/en-us/articles/360037772613-Change-Log#may-22-2023-0-1</a> Fixed an issue with Dark mode and whispering a player through the chat feature in the VTT.
I suspect @{gm_roll_opt} might contain a newline character if not the roll button itself. That would explain the behaviour seen as it would result in an empty whisper (which would be suppressed) and then the ability macro on a new line not whispered. On it's own a newline character would also output nothing.
RainbowEncoder said: I suspect @{gm_roll_opt} might contain a newline character if not the roll button itself. That would explain the behaviour seen as it would result in an empty whisper (which would be suppressed) and then the ability macro on a new line not whispered. On it's own a newline character would also output nothing. That just came to my mind too!&nbsp; It should be easy to check on the Attributes &amp; Abilities tab of the character sheet by scrolling down and finding the 'gm_roll_opt' attribute and seeing if there's anything there.&nbsp; Another quick test: /w gm --Test message line 1-- %{selected|t_ko_sinnenschaerfe-action} If the output shows --Test message line 1-- as a whisper to the GM, and then the roll showing to players that's definitely what is happening.
1684866616

Edited 1684866887
Another sanity check question: none of your players are promoted Co-GMs, right? If they are then they will get all the GM whispers. (I'm 99% sure this isn't the case, but it doesn't hurt to ask!) No, none of my players are Co-GMs. Jarren said: Very weird. I wonder if you put in the command manually (instead of calling the ability) if it would work (and if it does then it'll help narrow down the troubleshooting): /w gm @{Baerach bre Wladuch|gm_roll_opt} &amp;{template:talent} {{name=Sinnenschärfe}} {{wert=[[@{Baerach bre Wladuch|TaW_sinnesscharfe}d1cs0cf2]]}} {{mod=[[?{Erleichterung (−) oder Erschwernis (+)|0}d1cs0cf2]]}} {{stats=[[ [Eigenschaft 1:] [[@{Baerach bre Wladuch|Eigenschaft1sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 2:] [[@{Baerach bre Wladuch|Eigenschaft2sinnesscharfe}]]d1cs0cf2 + [Eigenschaft 3:] [[@{Baerach bre Wladuch|Eigenschaft3sinnesscharfe}]]d1cs0cf2]]}} {{roll=[[3d20cs&lt;@{Baerach bre Wladuch|cs_talent}cf&gt;@{Baerach bre Wladuch|cf_talent}]]}} {{result=[[0]]}} {{criticality=[[0]]}} {{critThresholds=[[[[@{Baerach bre Wladuch|cs_talent}]]d1cs0cf2 + [[@{Baerach bre Wladuch|cf_talent}]]d1cs0cf2]]}} Now the whisper works, but the actual roll becomes very weird . But that must be something special to the character sheet. I’m in contact with the character sheet developer, maybe he has a solution or explanation. Maybe in combination with your input, this riddle will be solved Thanks for your help
Ok Diskussion with Sheet Developer <a href="https://github.com/kreuvf/roll20-character-sheets/issues/123" rel="nofollow">https://github.com/kreuvf/roll20-character-sheets/issues/123</a> here (in German) His guess is that Custom Roll Parsing (which this Roll Macro uses) does not work when called from Chat?
1684871299

Edited 1684871357
David
Sheet Author
Tobias said: Is there any possibility to call an ability of a Character Sheet an have the output (in my case a roll template defined by that character sheet), only visible for the GameMaster? I tried /w gm %{selected|t_ko_sinnenschaerfe-action} and /talktomyself %{selected|t_ko_sinnenschaerfe-action} but none of them worked, it will be shown to all players /talktomyself on %{selected|t_ko_sinnenschaerfe-action} /talktomyself off
1684887204
GiGs
Pro
Sheet Author
API Scripter
Tobias said: Ok Diskussion with Sheet Developer <a href="https://github.com/kreuvf/roll20-character-sheets/issues/123" rel="nofollow">https://github.com/kreuvf/roll20-character-sheets/issues/123</a> here (in German) His guess is that Custom Roll Parsing (which this Roll Macro uses) does not work when called from Chat? We are in the dark without seeing the text of macro, but my guess is the macro doesn't state the character name, so roll20 doesn't know which sheet to run the macro to.