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

I need a simple chat button that sends a message to GM only

1634847967

Edited 1634852167
I know this command: [Button](!
 Text) It creats a button called Button that writes on chat what is in the Text. But how do I turn the Text output only visible to the GM? 
1634850000
Andreas J.
Forum Champion
Sheet Author
Translator
like this: <a href="https://wiki.roll20.net/Text_Chat#Rolls_to_GM_.28.2Fgmroll.2C.2Fgr.29" rel="nofollow">https://wiki.roll20.net/Text_Chat#Rolls_to_GM_.28.2Fgmroll.2C.2Fgr.29</a>
[Button](!&amp;#13; /w gm I'm attacking the darkness!) It doesn't work as I'd like. I want the text being posted as a /w gm text would, but how do I put that in this button structure? &nbsp;
1634851130

Edited 1634851156
What I want after clicking the button:&nbsp;
1634852126

Edited 1634852281
I figured it out!! It's the space after !&amp;#13; that's ruining it! [Button](!&amp;#13; /w gm I'm attacking the darkness!) ✖️ DOES NOT WORK! [Button](!&amp;#13;/w gm I'm attacking the darkness!) ✔️&nbsp; WORKS!
1634852331
Kraynic
Pro
Sheet Author
I quit building anything directly into a button, because I don't want to ever have to deal with html replacements.&nbsp; So I use the macro character sheet idea from the pinned Roll20 Tricks thread.&nbsp; It is mentioned and expanded in a few posts: <a href="https://app.roll20.net/forum/permalink/5924364/" rel="nofollow">https://app.roll20.net/forum/permalink/5924364/</a> <a href="https://app.roll20.net/forum/permalink/7605679/" rel="nofollow">https://app.roll20.net/forum/permalink/7605679/</a> <a href="https://app.roll20.net/forum/permalink/6138238/" rel="nofollow">https://app.roll20.net/forum/permalink/6138238/</a> Let's say you create a "character" called Macro Mule, and you create an ability called AtkDark on the Attributes and abilities tab that contains: /w gm I'm attacking the darkness! Your button would then look like [Button](~Macro Mule|AtkDark) The basic breakdown is this: [Button Display Name](~Character Sheet Name|Ability Macro Name) If you are a player, you can do this with abilities from your own sheet as well.
Thanks, Kraynic! That certainly will be handy :D
1634894985
Finderski
Plus
Sheet Author
Compendium Curator
Although, it may be easier to just create a regular macro and add it to your Macro bar at the bottom of the screen...it would be fewer clicks. &nbsp;Right now, you have to click something to get the button on screen, then click the button to send the message. &nbsp;If you add a Macro (on your Macro and Decks tab), you could add the macro as a button to the bar, or as a token action.
1634917610
Kraynic
Pro
Sheet Author
True.&nbsp; I have mostly quit using the quick macro bar, because it is always there unless you go into settings to turn it off.&nbsp; If the token action buttons are in the way of viewing something, you can simply click off the token to make them go away.&nbsp; I guess it just depends on which behavior and view of things you prefer.
I'm using it to get a quick way to every player make the same roll, but simultaneously and secretly, so I can interact with'em without everyone knowing the results based on the rolls. It makes possible to use a button everytime I need it, and do not need to create an ability only for that use.