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

Default Chat "AS" to selected token

Hello!  
I'm not sure there's a practical way to do this, but I sometimes play (and roll/use token actions, etc) for several players in our game, depending on who shows up or is connected on any given game night.  The problem with that is...The "AS" drop-down is great until I forget to use it.  So half of my actions end up listed as though another player rolled them, or vice versa. 

I realize that customizing the action text is a great first step, and I've done that, but sometimes when scrolling back through a list of melee basics, for example, the GM defaults to looking at the Chat speaker instead of zooming in on the name on the actual action.
SO,  in the interest of laziness...  Is there a way, using the API, anyone can think of to just default it?

I started to make a script that would just handle chat as variable input, but that doesn't handle all my lovely token action buttons.

Thoughts?

February 12 (9 years ago)
You could just use PowerCards... it has options for using token pictures or character sheet avatars.
February 12 (9 years ago)

Edited February 12 (9 years ago)
A non-API solution might involve creating a macro (e.g. named #as):
/as "@{selected|token_name}" 
When you want to speak as the selected token, you would preface your text chat messages with #as. E.g.
#as My name is @{selected|token_name}.

Or, you might opt to write #as like so:
/as "@{selected|token_name}" ?{Speaking as @{selected|token_name}}
You might additionally place #as in your Macro Quick Bar, and click on a token and then the Quick Bar button button when you wish to speak as that token.