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

Calling a macro within a macro

Greetings...this has probably already been answered, but I am in a hurry and need a quick solution.... I want to create a macro that will send a line of text to the "chat window" and then whisper information to the GM but I can't for the life of me figure out the correct syntax...
1526378221
Ziechael
Forum Champion
Sheet Author
API Scripter
Is the text you are wanting to sent to chat variable and what information are you whispering to the GM... whats your current macro attempt look like?
So something like this Important info to Chat /w GM Important info to DM Or in other words, one line of your macro is one thing, the next line is the next thing.  Each line is executed seperately.
Aranador said: So something like this Important info to Chat /w GM Important info to DM Or in other words, one line of your macro is one thing, the next line is the next thing.  Each line is executed seperately. Aranador...yes...exactly like that...the info to chat is in the default template....the info to the GM contains an inline roll so it is a second macro being called after the chat info
OK, so your macro needs just contain two lines separated by the carriage return within the macro.  Each will be executed, and one of them as a whisper to the GM.  Everything within the second line is all a single line, no carriage returns.
OMG...that was so obvious...I couldn't see the wood for the trees....thanks for your help  :)