Thread Tools Display Modes
04-07-10, 02:07 PM   #1
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar
Join Date: Oct 2008
Posts: 165
Chat Box mouseover + Format

Looking for a simple script to add to my current chat addon.

I would like to remove the chatbox background from showing up entirely when I mouseover the chatbox.

I would also like to right-align my chat text instead of the default left-align text.

Both of these would be for chat box 1 and chat box 2 if that helps.

Thanks!
  Reply With Quote
04-07-10, 02:38 PM   #2
harrellj
A Flamescale Wyrmkin
Join Date: Jul 2009
Posts: 132
What are you using for your chat addon? Prat has the first question as an option.
  Reply With Quote
04-07-10, 02:54 PM   #3
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar
Join Date: Oct 2008
Posts: 165
Originally Posted by harrellj View Post
What are you using for your chat addon? Prat has the first question as an option.
I am using gChat.

It has features I actually use, except the two I am looking for.

Prat is a nice addon, but it has many features I do not use.

I prefer simple script lines I can just add into the existing Lua of gChat to include the two features I am looking for.

Last edited by ffxiedyn : 04-08-10 at 03:42 AM.
  Reply With Quote
04-07-10, 03:07 PM   #4
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
To remove the mouseover, you can add

lua Code:
  1. DEFAULT_CHATFRAME_ALPHA = 0
__________________
Oh, the simulated horror!
  Reply With Quote
04-07-10, 03:11 PM   #5
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar
Join Date: Oct 2008
Posts: 165
Originally Posted by Ailae View Post
To remove the mouseover, you can add

lua Code:
  1. DEFAULT_CHATFRAME_ALPHA = 0
Thanks! Trying this out now. I hope just inserting it at the beginning or end of the Lua will suffice.

Found a script for the right align text as well, yay!

ChatFrame3:SetJustifyH("RIGHT")

Last edited by ffxiedyn : 04-08-10 at 03:41 AM.
  Reply With Quote
04-07-10, 03:42 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You really only need the line that actually sets the alignment, if you're going to be sticking this in the addon's code (provided that the addon's code is not run too early).
__________________
"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

  Reply With Quote
04-08-10, 03:39 AM   #7
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar
Join Date: Oct 2008
Posts: 165
Thanks everyone.

My chatbox is now fully functionable and filled with the features I prefer.

/bow
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Chat Box mouseover + Format

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