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

Possible to make a token say something via a macro?

Hello, game version is 5e. So I have a basic initiative macro which is fine, but currently when using it, the GM will say who rolls what: @{selected|token_name} rolls a [[1d20 + @{selected|dexterity_mod} [Dexterity Mod] &{tracker}]] for initiative! Anyway, I'd like it so that instead of saying "Peter rolls a 10 for initiative", the macro would simply say "Rolled a 10 for initiative" by Peter, rather than by the GM. Is this possible? Or will I just have to switch to each token as I say it.
1528501241
Pantoufle
Pro
Sheet Author
Translator
I think you can use /as @{selected|token_name} rolled a [[1d20 + @{selected|dexterity_mod} [Dexterity Mod] &{tracker}]] for initiative!
1528511052
The Aaron
Pro
API Scripter
Note that /as only works for the GM, so if you’re a player or you want your player to use it, it won’t work. 
Thanks guys! That worked perfectly, Pantoufle. The Aaron, I'm the GM so it's no problem.
1528564132
Gold
Forum Champion
Just for related info, and to tempt ya -- with a Pro subscription you can use the Roll20 community-created API scripts. The Aaron made one called Color Emote API script. This lets you give a Macro to Players that lets them talk in-chat with their Bio-Tab Portrait or their Token art depending on your settings. It's pretty neat. <a href="https://app.roll20.net/forum/post/2972233/script-c" rel="nofollow">https://app.roll20.net/forum/post/2972233/script-c</a>...
1528567510
vÍnce
Pro
Sheet Author
I think I'm going to finally implement&nbsp;Color Emote into my games.&nbsp; It's just too cool.