|Go to Page...|
|Updated:||10-13-10 07:52 AM|
Chat Alias Lite
This mod is based on Jooky's Chat Alias mod. It appears that Chat Alias has been abandoned and has not functioned since WoW 2.0. Chat Alias Lite does not implement all the functions of the original Chat Alias, but it does do the most important thing. It will replace strings in messages.
For users of the original Chat Alias, Chat Alias Lite does not implement the count down and repeat functions. Also, the format of the alias file has changed. If you created your own alias (either via the non-supported in-game changes or directly updating the alias.lua file), you will need to update the ChatAliasLiteAliases.lua file using the new format.
In addition to all the original aliases, I have copied all the target referencing aliases and created similiar aliases that reference your focus.
Guild and ImpInaBall aliases courtesy of Alfuin.
Compatibility with Wow Instant Messenger courtesy of Stewart of WIM's site.
Mouseover and mouseovertarget alias added at the suggesion of Alfuin.
While I have relied heavily on other's for this Addon, any issues with it are with my interpretation of the code and not the original code. Thus, any issues you have with this, should be blamed on me and not others.
For those of you who have never seen Jooky's original mod, here is what this does:
Chat Alias Lite takes an assortment of "$" prefixed keywords in the things you say (in any channel) and converts them to much more role-play appropriate values. It will replace the values in both what you say and in the target field of a "/t" command
For player, target, and focus there are keywords for:
. Name - $name, $targetname, $focusname
. Level - $level, $targetlevel, $focuslevel
. Class - $class, $targetclass, $focusclass
. Race - $race, $targetrace, $focusrace
. Faction (Horde or Alliance) - $faction, $targetfaction, $focusfaction
. Sex (male or female) - $sex, $targetsex, $focussex
In addition for the player there are keywords for:
. Health - $health, $healthmax, $healthpct, $healthpctcode (same as $healthpct with % sign)
. Mana - $mana, $manamax, $manapct, $manapctcode
. XP - $xp, $xpmax, $xppct, $xppctcode
. Location - $location (x,y coordinates), $subzone, $zone
For the target and focus various pronouns are keyworded:
. Possesive Adjective (his, hers, its) - $posadjective, $focusposadjective
. Object pronoun (him, her, it) - $objpronoun, $focusobjpronoun
. Subject pronoun (he, she, it) - $subjpronoun, $focussubjpronoun
. Reference pronoun (himself, herself, itself) - $refpronoun, $focusrefpronoun
In addition to the variable substitutions, it contains a few static substitutions:
$omw - "On my way..."
$pst - "Please send tell."
And to make matters a little fun it also has:
. $randomsentence - Returns a random sentence.
. $eightball - Returns a random form the classic "magic eight ball"
Several of the longer keywords also have shorter versions. Check ChatAliasAlais.lua for a complete list of all the keywords and what they are translated into. If you're unsure of what a keyword returns, you can also just say the keyword in chat and see what shows up.
. Resurrect macro:
/cast Ressurect (or whatever your class calls it)
/say I call upon the gods to bless the body of this $targetrace and return life to my friend, $target.
And if you're targeting a dwarf named Freddy, you'll get:
. "I call upon the gods to bless the body of this dwarf and return life to my friend, Freddy."
To send a tell to your current target simply type:
/t $t Hiya