This was yanked out of Dawn of Time and adapted to the point that it cleanly compiles. It's gone through some cursory in-game testing to ensure the command works as intended, and it seems to! As of now it allows for an RPECHO command that can be used to emote normally (user's name at the beginning), to target other players with emotes using symbols embedded in the text (by name), or to insert your own identifier into the text (name).
I'm reasonably positive it's buggy as all get out, but I'll keep updating as I go through it and expand, etc. My next step is adapting so shortdesc keywords can be targeted instead of names, and display is tailored accordingly based on sender, victim, room (sender sees victim's shortdesc, victim sees their name, room sees shortdesc of sender and victim).
Examples!
Normal emote:
rpecho does a little dance.
Chime does a little dance.
Targeted emote:
emote Tester Dancing around, * twirls @'s hand.
Dancing around, Chime twirls Tester's hand.
Free-text emote
rpecho This is an emote that * is writing.
This is an emote that Chime is writing.
Extremely happy to receive criticisms or corrections/fixes, or ideas on how to approach the shortdesc update.
Attachment RPEcho.txt not found