
So, I'm trying to create a macro that switches to an NPC avatar, emotes and speaks to chat, and then switches back to the GM. I have nearly exactly what I want, but I have one hurdle. Here is the macro:
!switch -OS0m6Rm0TdCoo7dGM0o
/em is suddenly still and sadness seeps from her. %NEWLINE% ["This was where I… no. I'm not here anymore.... Then they’ve taken the remains below. For the ritual."](!:)
!switch
It produces exactly what I want (if I use the workaround):
The hurdle is that it executes the bang commands after the emote so it doesn't switch to the NPC avatar before the emote. I imagine that chat input (chat commands and content vs API calls) is parsed in a particular order and likely asynchronously. I can live with this (using another button to do the switch manually), but I'm trying to see if there is a way to force the behavior I want. I am aware of !dialog, !emas, and !ColorEmote. None of those produce what I want visually. I'm guessing what I might need to do is find a way to turn the /em line into a !command with basically no additional functional behavior. Thoughts? Sorry if this is the wrong forum.