WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Chat Box mouseover + Format (https://www.wowinterface.com/forums/showthread.php?t=31738)

ffxiedyn 04-07-10 02:07 PM

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!

harrellj 04-07-10 02:38 PM

What are you using for your chat addon? Prat has the first question as an option.

ffxiedyn 04-07-10 02:54 PM

Quote:

Originally Posted by harrellj (Post 184256)
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.

Ailae 04-07-10 03:07 PM

To remove the mouseover, you can add

lua Code:
  1. DEFAULT_CHATFRAME_ALPHA = 0

ffxiedyn 04-07-10 03:11 PM

Quote:

Originally Posted by Ailae (Post 184261)
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")

Seerah 04-07-10 03:42 PM

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).

ffxiedyn 04-08-10 03:39 AM

Thanks everyone.

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

/bow


All times are GMT -6. The time now is 10:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI