Go to Page... |
Updated: | 10-13-10 07:52 AM |
Created: | unknown |
Downloads: | 3,176 |
Favorites: | 11 |
MD5: |
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.
Some examples:
. 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
Comment Options |
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
11-11-08, 05:06 PM | |
|
WIM incompability FIXED!
I noticed that when I use WoW Instant Messenger (WIM) it didn't let the aliases be handled by CAL before sending, so I contacted the guys at WIM's official site about it, and in reply one of the developers, Stewart, made a small hack of CAL. It works 100% like before, only that now it uses the right handles for sending whispers, so with this update, CAL and WIM works fine together. The file is located at http://www.stewartatkins.org/wim/ChatAliasLite.lua - but if it is taken down before you can copy it, send me a note here on WoWInt.
|
|
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
Jiral |
View Public Profile |
Send a private message to Jiral |
Find More Posts by Jiral |
Add Jiral to Your Buddy List |
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
12-25-08, 06:53 PM | |
|
Mouseover alias...
I got another alias for you, which I found useful...
Code:
["$mouseover"]="%mouseover", ["%mouse"]="%mouseover", ["$mouse"]="%mouseover", ["%mo"]="%mouseover", ["$mo"]="%mouseover", ["$mouseovertarget"]="%mouseovertarget", ["%mousetarget"]="%mouseovertarget", ["$mousetarget"]="%mouseovertarget", ["%motarget"]="%mouseovertarget", ["$motarget"]="%mouseovertarget", ["%mot"]="%mouseovertarget", ["$mot"]="%mouseovertarget", Code:
["$mouseover"]='ALIASVAL = UnitName("mouseover")', ["$mouseovertarget"]='ALIASVAL = UnitName("mouseovertarget")', |
|
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
12-28-08, 10:47 AM | |||
|
Re: Re: Fixes
Originally I didn't see this as a problem, but I now realize that some of the aliases could be plural (as in "Kill all $traces" should be changed to "Kill all humans"). To do this with minimal disruption to existing users, I will borrow a technique from my JCL and Assembler background. I will enable the use of an optional period to signify the end of a alias to be replaced. This means your example would need to be written as: "/say %name likes %target.. Will %target be %name.s friend?" To produce: "(name) likes (target). Will (target) be (name)s friend?" Note the period after the 1st %target and the 2nd %name is not copied to the output message. Since you actually want a period after the 1st %target, you need to have the two periods here. This said, it's going to take me a couple of days to re-familarize myself with the internals to CAL, make the necessary changes, and debug the new code. But since I'm on vacation this week, I'm hoping it'll be done before New Year's. When I do post the udpated code, I'll also add your mouseover aliases to the aliases. Edit: spelling
Last edited by Jiral : 12-28-08 at 10:53 AM.
|
||
|
Jiral |
View Public Profile |
Send a private message to Jiral |
Find More Posts by Jiral |
Add Jiral to Your Buddy List |
02-09-09, 04:15 PM | |
|
New bug...
A new bug, albeit a minor one... These two lines follow eachother in your latest code of ChatAliasLiteAliases.lua, I am sure you can see the problem.
Code:
["$mouseovertarget"]='ALIASVAL = UnitName("mouseovertarget")', ["$mouseovertarget"]='ALIASVAL = UnitClass("mouseovertarget")', Code:
["%n"]="$name", ["$n"]="$name", ["$l"]="$level", ["%l"]="$level", ["$c"]="$class", ["%c"]="$class", ["$r"]="$race", ["%r"]="$race", ["$fact"]="$faction", ["%fact"]="$faction", ["$s"]="$sex", ["%s"]="$sex", ["$z"]="$zone", ["%z"]="$zone", ["%tc"]="$targetclass", ["$tc"]="$targetclass", ["%tl"]="$targetlevel", ["$tl"]="$targetlevel", ["%ts"]="$targetsex", ["$ts"]="$targetsex", ["%tfact"]="$targetfaction", ["$tfact"]="$targetfaction", ["%tr"]="$targetrace", ["$tr"]="$targetrace", ["%tclassify"]="$targetclassification", ["$tclassify"]="$targetclassification", ["%tt"]="$targettype", ["$tt"]="$targettype", ["%fc"]="$focusclass", ["$fc"]="$focusclass", ["%fl"]="$focuslevel", ["$fl"]="$focuslevel", ["%fs"]="$focussex", ["$fs"]="$focussex", ["%ffact"]="$focusfaction", ["$ffact"]="$focusfaction", ["%fr"]="$focusrace", ["$fr"]="$focusrace", ["%fclassify"]="$focusclassification", ["$fclassify"]="$focusclassification", ["%ft"]="$focustype", ["$ft"]="$focustype", ["%moc"]="$mouseoverclass", ["$moc"]="$mouseoverclass", ["%mol"]="$mouseoverlevel", ["$mol"]="$mouseoverlevel", ["%mos"]="$mouseoversex", ["$mos"]="$mouseoversex", ["%mofact"]="$mouseoverfaction", ["$mofact"]="$mouseoverfaction", ["%mor"]="$mouseoverrace", ["$mor"]="$mouseoverrace", ["%moclassify"]="$mouseoverclassification", ["$moclassify"]="$mouseoverclassification", ["%mot"]="$mouseovertype", ["$mot"]="$mouseovertype", ["jsut"]="just", ["Jsut"]="Just", ["%fthe"]="$focusthe", ["$fthe"]="$focusthe", |
|
Alfuin |
View Public Profile |
Send a private message to Alfuin |
Find More Posts by Alfuin |
Add Alfuin to Your Buddy List |
02-13-09, 10:35 PM | |
|
Re: New bug...
Yep, I need a proof-reader.
While doing a quick test of the fixed $mouseoverclass, I noticed another typo. I had a $mouseoverclass that was pointing at the UnitName("mouseovertarget") function. If you haven't found that one in your copy and fixed it yet, you'll need to find and fix yourself, or download the updates (when they get approved). I also added in all your suggested abbreviations. |
|
Jiral |
View Public Profile |
Send a private message to Jiral |
Find More Posts by Jiral |
Add Jiral to Your Buddy List |
04-28-09, 05:01 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
adding Keywords to 'ChatAliasLiteAliases.lua'
-> ["%만"]="%me가 %t님의 엉덩이를 만집니다.", and I do the InGame input command '%만'. but, Is not working. Please Support Korean(Unicode) Language. Thank you so much. Have a nice day. |
|
nania09 |
View Public Profile |
Send a private message to nania09 |
Find More Posts by nania09 |
Add nania09 to Your Buddy List |
04-29-09, 01:20 PM | ||
|
|
|
|
Jiral |
View Public Profile |
Send a private message to Jiral |
Find More Posts by Jiral |
Add Jiral to Your Buddy List |
05-03-09, 03:42 PM | |
|
Fixed, maybe...
I think I have the problem corrected. However, I don't have a non-English client so I really can not be sure. Once the next release is approved, give it a try and let me know if it corrects the problem.
Be sure to backup your ''ChatAliasLiteAliases.lua" file or don't unzip this file from the archive. |
|
Jiral |
View Public Profile |
Send a private message to Jiral |
Find More Posts by Jiral |
Add Jiral to Your Buddy List |
05-03-09, 05:50 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
Thank you!
Yeah, superbly done!
Thanks a lot! Always, you'll have good luck. |
|
nania09 |
View Public Profile |
Send a private message to nania09 |
Find More Posts by nania09 |
Add nania09 to Your Buddy List |