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

Sharing a macro in chat?

I want to be able to post a macro in the chat window without it rolling. That way other players can copy it for their own use. Is there a command to let me post the syntax of a macro without the chat going ahead and running the macro?
Riley D. said: New Chat Command (Escape Text): ` We've added a new text-chat command, "`" (that's a back-tick if it's hard to see). If you put a back-tick at the beginning of a command, it will not parse anything about it (inline rolls, variables, etc.) Instead it will just output your text directly. So for example: `&{template:default} {{attack=[[1d20]]}} Would just output that text as it appears, rather than triggering the template or doing an inline roll. Note that this does not prevent paired asterisks being parsed as Markdown syntax. This can be prevented by replacing instances of * with the HTML entity *
Thank you very much!!!
1440338874

Edited 1440339467
It also does not prevent a stop of the text completely if there are less than or greater than signs similarly because they represent html tags. I am guessing that using the html entity (60, 61) would work for those but I have not checked. H
1440458662

Edited 1440458693
Gold
Forum Champion
For an alternative, workaround place to share Macro code writings without it executing the macro in the chat: Use the "Attributes & Abilities" tab on a Character. &nbsp;Use the section called Abilities . As GM (or as a Player), post each Macro as an Ability. &nbsp;The GM can see and copy them from here. &nbsp;If the GM sets up a fake Character named "Everybody-Share-Your-Macros-Here" and give control of this Character to all the Players, now everyone can use the Abilities tab of this Character as a place to share Macro codes, that you can copy-paste and add to your own character, or add to your own Macro Quick Bar. Wiki docs, <a href="https://wiki.roll20.net/Journal#Abilities" rel="nofollow">https://wiki.roll20.net/Journal#Abilities</a>
1440490303
Ziechael
Forum Champion
Sheet Author
API Scripter
In the spirit of Gold's suggestion you could also utilise the handouts to share information without it parsing rolls etc. Ensure that all player have access and edit rights to the handout and off they go... alternatively give each player a hand out that they can edit but the other can only view, that way they could share macros without the confusion of having everyones in one long list.