Reply
 
Thread Tools Display Modes
Old 09-16-09, 09:40 AM   #1
Tondef
An Aku'mai Servant
 
Tondef's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 39
Turn off chat channels when grouped.

Looking for something that would turn Guild Chat (or other channels) off when you enter a group/raid, then turn them back on when you are solo again.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Tondef is offline   Reply With Quote
Old 09-16-09, 10:06 AM   #2
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
It'd look something in the lines of this. Do you need it wrapped up into an addon?

Code:
-- Code removed, look further down for d/l link
Reference
http://www.wowwiki.com/API_ChatFrame...ageEventFilter
http://www.wowwiki.com/Events/Communication
__________________
I have very little time to play WoW and even less time to code addons. As such I've dropped all development of all my addons. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, Valle.

Last edited by v6o : 09-17-09 at 06:33 AM.
v6o is offline   Reply With Quote
Old 09-16-09, 11:59 AM   #3
MidgetMage55
Grinch!
 
MidgetMage55's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,512
Could always make a tab just for group. So should you need to talk in other channels you you can select the appropriate tab to see replies.
__________________

I think Hong Kong Phooey was a ninja AND a pirate. That was just too much awesome. - Yhor

Last edited by MidgetMage55 : 09-16-09 at 01:55 PM.
MidgetMage55 is offline   Reply With Quote
Old 09-16-09, 01:50 PM   #4
Tondef
An Aku'mai Servant
 
Tondef's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 39
OMG that is great!
Could you wrap it in an Addon, or direct me to some instructions to wrap it?

The reason I ask is that I'm in a huge - huge - really huge guild and sometimes guild chat is busier than Trade chat. I don't mind it when I'm just solo or in lfg, but when I group I don't want to miss what the group is saying in the wall of green.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Tondef is offline   Reply With Quote
Old 09-16-09, 04:07 PM   #5
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 56
While I'm not out to discourages anyone, especially Yourstruly (no, not me, the other guy) it seems a LOT more practical to me (as MidgetMage55 suggested) to simply create a new chat TAB and have ONLY party (or guild) chat show on that tab, that way you can switch back and forth between them and not miss ANYTHING.

The reason for this obviously, is so that if someone is trying to talk to you in guild chat, and you are running an addon that hides or blocks guild chat while in a party, you may miss it; sure said person could always whisper you, but that defeats the purpose of having a guild chat doesn't it?

Whats more, say your the only person in the guild that is online that can make a certain item or consumable, if you had been able to see the guild chat you may have caught it and been able to save your guildy some time and money, but obviously if you never see it, that can't happen, just some things to think about.

At any rate, good luck with your issue.
Gsusnme is offline   Reply With Quote
Old 09-16-09, 04:19 PM   #6
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Simplest solution is simplest. I was just too narrow minded at the time to actually think of it but that may because I haven't used multiple tabs for ages.

Edit: At least there's an example here if anyone needs it.
__________________
I have very little time to play WoW and even less time to code addons. As such I've dropped all development of all my addons. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, Valle.

Last edited by v6o : 09-16-09 at 04:21 PM.
v6o is offline   Reply With Quote
Old 09-16-09, 04:41 PM   #7
Tondef
An Aku'mai Servant
 
Tondef's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 39
Actually, I do have a separate tab for guild chat.

But, yes this is why I asked for this, I like to be able to see guild on Tab 1 with everything else unless I'm grouped.. If I am in a group or raid I want to turn it off in tab 1 (it can continue in tab 3 forever). I just want to automate switching Guild Chat off in Tab 1, I do it manually now.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Tondef is offline   Reply With Quote
Old 09-16-09, 04:45 PM   #8
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
The script I posted would affect all tabs unless you do self:GetName()=="ChatFrame1" and going with what MidgetMage55/Gsusnme said would be easiest/best solution.

Not saying it's a bad idea using my script, just saying it'd be a lot easier and you know it wouldn't break even with patches as it's just some chat settings.


Edit: Now they never specifically mentioned it but you could make one tab with everything shown and another tab with everything except guild and just switch over when you need to. I am on my way to the dentist at the moment but when I get home I'll make the changed to only filter ChatFrame1 and zip it up as an addon incase you still want it.
__________________
I have very little time to play WoW and even less time to code addons. As such I've dropped all development of all my addons. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, Valle.

Last edited by v6o : 09-16-09 at 10:43 PM.
v6o is offline   Reply With Quote
Old 09-17-09, 06:35 AM   #9
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Promised you and here it is if you still want it.

Edit: Thanks Seerah, didn't know 'bout the attachments.
Attached Files
File Type: zip TondefChatFilter.zip (985 Bytes, 562 views)
__________________
I have very little time to play WoW and even less time to code addons. As such I've dropped all development of all my addons. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, Valle.

Last edited by v6o : 09-17-09 at 11:25 AM. Reason: removed outside hosting link
v6o is offline   Reply With Quote
Old 09-17-09, 11:02 AM   #10
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,185
Can you post it as an attachment please, instead of to a random outside host?
Originally Posted by WoWI Site Rules
8. Please do not post outside links for addons, unless they are located on trusted sites such as Curse, wowace, googlecode, etc. It's so easy to just host it here - if you would like to offer it to someone else, just upload it. Any link like www.thisrandomserver-1211.net/thisnewaddon.zip will be removed.
Thanks.


/edit: to use attachments, go to "Additional Options" below the box you type your post into.
__________________
"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
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Turn off chat channels when grouped.

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