NOTICE
I am aware there is a bug with deleting custom replacements, and a bug with some of the in-built replacements, but i'm currently working on a major update for this addon.
Description
EasyChat is an addon which adds more replacements to the chat system (like the "%t" one which is replaced for your target's name upon sending the message). EasyChat also allows the user to add their own custom replacement texts which work in exactly the same way.
Command List
"/ec help" - Shows this list of commands in-game.
"/ec enable" - Enables text replacement.
"/ec disable" - Disables text replacement.
"/ec toggle" - Toggles text replacement.
"/ec version" - Displays the version of the EasyChat addon you're using.
"/ec add <text> <message>" - Adds a custom text replacement ("/ec add test hello this is a test" would replace "%test" for "hello this is a test" whenever you type it in a message).
"/ec del <text>" - Deletes a custom text replacement ("/ec del test" would delete the "%test" replacement).
"/ec clear" - Deletes all custom replacements you have created.
"/ec view <text>" - Displays the message which is shown for the replacement called <text>. ("/ec view test" would show the message which EasyChat replaces "%test" for).
"/ec gadd <text> <message>" - Adds a global custom text replacement ("/ec gadd test hello this is a test" would replace "%test" for "hello this is a test" whenever you type it in a message if there is no individual replacement for "%test").
"/ec gdel <text>" - Deletes a global custom text replacement ("/ec gdel test" would delete the "%test" global replacement).
"/ec gclear" - Deletes all global custom replacements you have created.
"/ec gview <text>" - Displays the message which is shown for the global replacement called <text>. ("/ec gview test" would show the global message which EasyChat replaces "%test" for).
In-Built Replacements
General
"%s" - Replaces this for your character's name.
"%tt" - Replaces this for your target's target.
Pet
"%p" - Replaces this with your pet's name.
"%pt" - Replaces this with your pet's current target.
Focus
"%f" - Replaces this with your current focus.
"%ft" - Replaces this with your current focus's target.
Mouseover
"%m" - Replaces this with the name of the person/npc your mouse is currently over.
"%mt" - Replaces this with the target of the person/npc your mouse is currently over.
Party
"%p#" - Replaces this with the name of party member # (replace # with the number).
"%p#t" - Replaces this with the target of party member # (replace # with the number).
"%pp#" - Replaces this with the party member # pet name (replace # with the number).
"%pp#t" - Replaces this with the target of party member # pet (replace # with the number).
Raid
"%r#" - Same as party replacement, but for raid instead.
"%r#t" - Same as party replacement, but for raid instead.
"%rp#" - Same as party replacement, but for raid instead.
"%rp#t" - Same as party replacement, but for raid instead.
How It Works
Whenever you type a message, if you type "%" followed by the name of your custom replacement, EasyChat will replace "%" plus the word for the message stored.
When enabling/disabling EasyChat with "/ec enable/disable/toggle", the state of EasyChat is saved on that character (this means you may have EasyChat enabled on one character, and not on another). By Default, EasyChat is enabled on all characters.
Custom replacements ("/ec add/del/clear/view") are stored on each individual character. Global custom replacements on the other hand are stored across all your characters on that account. EasyChat will check if your characters have a custom replacement before checking global. It will only resort to a global replacement if no individual replacement is found (this means individual custom replacements override global ones).
If you add a custom (or global) replacement that has the same <text> as one of EasyChat's inbuilt replacements, then the custom replacement will take priority (inbuilt replacement will be ignored). You can easily use the inbuilt replacements again by deleting the custom replacement which has the same name as the inbuilt replacement you wish to use.