Reply
 
Thread Tools Display Modes
Old 07-20-10, 05:36 PM   #1
pauen
A Theradrim Guardian
 
pauen's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2009
Posts: 68
Simple Language change macro help?!

i want a macro that will change the language you're speaking to like orcish or common to what ever language your race has, and that language to orcish or common
a while back i had a something like this.
/run ChatFrameEditBox.language = (ChatFrameEditBox.language == GetLanguageByIndex(1) and GetLanguageByIndex(2) or GetLanguageByIndex(1)) ChatFrame1:AddMessage(" "..ChatFrameEditBox.language)

i want one that will work with any race any side so you dont have to change macro text to work with your race.
thanks
pauen is offline   Reply With Quote
Old 07-20-10, 05:36 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,477
Change "ChatFrameEditBox" to "ChatFrame1EditBox".
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Old 07-20-10, 05:41 PM   #3
pauen
A Theradrim Guardian
 
pauen's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2009
Posts: 68
Originally Posted by Seerah View Post
Change "ChatFrameEditBox" to "ChatFrame1EditBox".
thanks, i think the one i had along time ago was ALOT more text, but its good now, thanks
__________________
54/17/0
PvP Male Orc Arms Warrior

---------------------
Glyph of Mortal Strike
Glyph of Execution
Glyph of Rending

---------------------
Glyph of Charge
Glyph of Battle
Glyph of Bloodrage
pauen is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » Simple Language change macro help?!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off