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

Chat List of Macros

How do I make a macro pulling up other macros for selection in chat?  Say I have 5 macros and I just want them to print out in chat then a person can push that button.
1491882383

Edited 1491882414
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You'll want to use  API or  ability command buttons (depending on if you are calling a global macro or a character's ability/roll button).
1491882617
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This thread and the folks on it were very helpful to me. The syntax surrounding all of the macros, API call, abilities and token macros can be bewildering at first. Once I got the hang of it, I went nuts and created a lot of menus.
Thx a lot it's really hard to wrap your head around from scratch.
1491890913

Edited 1491891187
Volomon said: How do I make a macro pulling up other macros for selection in chat?  Say I have 5 macros and I just want them to print out in chat then a person can push that button. Here is a sample for you. The code below in the first box will change after you save the macro. Make sure to have a copy some where so you can copy it back if need be. Because if you open the macro and click save a second time it will stop working. I use Evernote to save all my macros and its free. PowerCard version will need a API ! & # 1 3 ; Had to add space because the chat change it so anywhere you see !# add the & # 1 3 ; without spaces inbetween to fix the code [Monster Stats](! #GM:StatsMonster) [Button Name](! #Macro name to call) so my example button is called Monster Stats and calls a Macro called GM:StatsMonster !power {{ --whisper|all --corners|10 --format|GM --name|Token Mod Lighting --leftsub|Set light sources --rightsub|Set Vision --Blind|~R [Set](! #ConditionBlindSet) [Remove](! #ConditionBlindRemove) ~R   --Charmed|~R [Set](! #ConditionCharmedSet) [Remove](! #ConditionCharmedRemove) ~R --Deafened|~R [Set](! #ConditionDeafSet) [Remove](! #ConditionDeafRemove) ~R --Frightened|~R [Set](! #ConditionFrightenedSet) [Remove](! #ConditionFrightenedRemove) ~R --Grappled|~R [Set](! #ConditionGrappledSet) [Remove](! #ConditionGrappledRemove) ~R --Invisibility|~R [Set](! #ConditionInvisibilitySet) [Remove](! #ConditionInvisibilityRemove) ~R --Paralyzed|~R [Set](! #ConditionParalyzedSet) [Remove](! #ConditionParalyzedRemove) ~R --Petrified|~R [Set](! #ConditionPetrifiedSet) [Remove](! #ConditionPetrifiedRemove) ~R --Poisoned|~R [Set](! #ConditionPoisonedSet) [Remove](! #ConditionPoisonRemove) ~R --Prone|~R [Set](! #ConditionProneSet) [Remove](! #ConditionProneRemove) ~R --Restrained|~R [Set](! #ConditionRestrainedSet) [Remove](! #ConditionRestrainedRemove) ~R --Stunned|~R [Set](! #ConditionStunnedSet) [Remove](! #ConditionStunnedRemove) ~R --Unconscious|~R [Set](! #ConditionUnconsciousSet) [Remove](! #ConditionUnconsciousRemove) ~R --Darkvision|~R [Set](! #Darkvision) ~R   --Blind Sight|~R [Set](! #BlindSight) }} ~R PowerCard Version Here is another sample without power API. /w GM &{template:npcaction} {{rname=GM Tools}} {{name=Craven's Tools}} {{description=[Status Marker](! #GM:TokenStatus) •  Sets Token to a status using token mods. **Status** Blind, Charmed, Deafened, Frightened, Grappled, Invisibility, Paralyzed, Petrified, Poisoned, Prone, Restrained, Stunned, Unconscious and Dead. [Player Stats](! #GM:StatsPC) •  Show important stats of a Player. [Monster Stats](! #GM:StatsMonster) •  Show important stats of a Monster. [New Toon Fixed](! #Starting-Stats) •  Roll abilities for **New Character Fix** Rolls twice for each ability. Can not move the numbers. 6*4d6 keep highest 3 reroll 1's. [New Toon Float](! #New-Toon) •  Roll abilities for **New Character Float** is Roll 6x4d6 keep highest 3 reroll 1's but you can chose where to but the abilities. [Weather](! #Weather) •  Take you to a weather site for random weather. [5e OGL API Status](! #API5eStatus ) • Stats of the 5e OGL API }} 
1491895380
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Everywhere you see code that says: [Some Button Name](! #Some-Macro-Name) will need to be altered to: [Some Button Name](! #Some-Macro-Name) before saving. I have saved a nice little  Regexr formula page for doing that. Simply paste your code into the top half as it appears when you re-open your macro, and copy the fixed bottom half back into your macro field. It will have made the correction for you.
keithcurtis said: Everywhere you see code that says: [Some Button Name](! #Some-Macro-Name) will need to be altered to: [Some Button Name](! #Some-Macro-Name) before saving. I have saved a nice little  Regexr formula page for doing that. Simply paste your code into the top half as it appears when you re-open your macro, and copy the fixed bottom half back into your macro field. It will have made the correction for you. I just use Word
1491939419
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The advantage of the Regexr page is because I can never remember the code. But the link is good, quick and ready, no matter where I am. copy-load bookmark, paste, copy, paste. I'd use Applescript to put the conversion on a key command, but sometimes I'm on my Chromebook.