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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Is there an API that shifts the GMs typed words to occur from a targeted token or something near to that effect without having to scroll through a whole NPC list each time to change it?
John K. said: That looks like it will work. Macro= /as @{selected|token_name} ?{Speak:} Note that if the character has a space in their name, everything after the space will be part of the spoken text.
keithcurtis said: John K. said: That looks like it will work. Macro= /as @{selected|token_name} ?{Speak:} Note that if the character has a space in their name, everything after the space will be part of the spoken text. I believe this can be fixed by putting quotation marks around the name. /as "@{selected|token_name}" ?{Speak}
Finally got a chance to test it out. The option using quotes around the @{selected} as Kyle suggested works just as I required. The speech comes up as: Demon, Shadow: <What I entered to say here> (And not as (GM) or whatever) Thanks guys.