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

Whispering macro output

Hi Is there a way to get !namegen to whisper to gm rather than output to chat? I'd be particularly interested in being able to do this more generally with any macro to pull them into a single whisper via a template. 
1644082280
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I haven't tested this, but it should be pretty easy. It will require installing the script manually. If you are using one Click install, delete the script and then instead of installing it, import it. That will give you the code itself. Anywhere you see a sendchat line, such as:                 sendChat('',`${BoxStyle} <b>Tavern Name is: ${_.sample(tavern)}</b></div>`); add "w/gm ". Example:                 sendChat('',`/w gm ${BoxStyle} <b>Tavern Name is: ${_.sample(tavern)}</b></div>`);  That should do it.