npcTalk is an addon intended primarily for roleplayers. It converts /say and /emote chat messages written in a certain format to appear to be actually performed by the chosen NPC in the chat frame of anyone using the addon (example in the screenshot).
It also provides slash commands to make it easy to send messages with this format.
People that don't have the addon will see you saying or performing the text/emote instead, prefixed by a tag with the NPC name.
To make an NPC 'talk', /say or /emote a message like this: [npc:Your Npc Name Here] Your Message Here. Or, preferrably, use one of the following slash commands:
/npcs, /npcsay message - if an NPC is targeted, make the target NPC speak the message. Else, if a name is memorised, use the memorised NPC name.
/npce, /npcme, /npcem, /npcemote emote - if an NPC is targeted, make the target NPC perform the emote. Else, if a name is memorised, use the memorised NPC name.
/npctalk set name - Memorise the name of an NPC (this can be fictional) to use when no NPC is targeted.
/npctalk clear - Reset the memorised name. The memorised name can also be overwritten by setting a new one
You can also type /npctalk at any time, or view the in-game GUI, to see an overview of these commands.
ToC bump for patch 5.2.
Changed /talk command to /npcs and /npcsay, to avoid overriding the default /talk emote.