Category: Outdated Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
2.4.03
Date:
05-18-2008 10:53 AM
Size:
1.75 Kb
Downloads:
746
Favorites:
12
MD5:
Pictures
Click to enlarge
In Combat
Click to enlarge
Out of Combat
ChatToggle
This mod will remove all the chat frames from your interface while in combat, to avoid problems of clicking in dead spots.

slash commands:
/ct - display help and status
/ct on - enable addon (default)
/ct off - disable addon

or /chattoggle

If there is any interest in this addon, I will add features.
  Change Log - ChatToggle
v2.4.03
Was still downloading the old version for some reason.

v2.4.02
more secure hook for ChatFrame_OnUpdate.

v2.4.01
original release.
  Comments - ChatToggle
Post A Reply Comment Options
Old 05-18-2008, 11:57 AM  
Everglow
A Fallenroot Satyr
 
Everglow's Avatar
Interface Author - Click to view interfaces

Forum posts: 27
File comments: 65
Uploads: 7
Yes, you've suggested that before in the forums. However it doesn't work.
Code:
local CTg = getfenv(0)
for i = 1,7 do
   CTg["ChatFrame"..i]:SetScript("OnShow", function(self) self.Hide() end)
   CTg["ChatFrame"..i.."Tab"]:SetScript("OnShow", function(self) self.Hide() end)
   CTg["ChatFrame"..i.."TabDockRegion"]:SetScript("OnShow", function(self) self.Hide() end)
end
The code above generates an error attempting to find 'this' in a non-table object.

Theoretically, I see your point, and yes it should work, but Blizz must handle the ChatFrames in a unique way.
__________________
Everglow - Sisters of Elune/US
Everglow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-18-2008, 11:21 AM  
Slakah
A Molten Giant
 
Slakah's Avatar
Interface Author - Click to view interfaces

Forum posts: 751
File comments: 132
Uploads: 25
Theres no really advantage of hooking and OnUpdate, just use :SetScript("OnShow", function(self) self.Hide)
Slakah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.