Category: Chat 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:
3.0 r4
Date:
04-11-2009 05:18 PM
Size:
2.33 Kb
Downloads:
5,250
Favorites:
133
MD5:
Pictures
Click to enlarge
The Minimized Chat...
Chicchai   Popular! (More than 5000 hits)
Explanation
Chicchai is a little Addon that will Minimize the Chat after a few seconds.

What can Chicchai do?
  • Minimize the Chat after X seconds
  • Maximize Chat on mouseover
  • Animations
  • Configurable on wich events (Guild, say, yell,...) the chat should maximize
  • Posibility to disable maximizing on combat
  • CombatLog will be maximized when selected (optional)
  • and more...


Other
Click for Previewvideo - lousy quality, but you'll get the idea.
Uses about 6.8 kb

Configuration
The configuration will be done through lua only. Commented, so it will be easy, i think.

You can call some functions if you want to handle maximizing/minimizing by yourself:
  • /script ChatFrame1:Maximize() - Maximize this chat frame
  • /script ChatFrame1:Minimize() - Minimize this chat frame
  • /script ChatFrame1:SetFrozen(true/false) - block maximizing/minimizing

Thanks to
Cargor (EU-Nozdormu)
I asked him if he would help me a bit, because im so a lazy bastard. So he started coding and POOF - Chicchai was like in my dreams, even better :3

Hope ya enjoy,
Lolzen
  Change Log - Chicchai
3.0
* Another rewrite
* Chicchai now uses less CPU time
* You can define how many lines you'd like to see in minimized mode
* docked chatframes are now handled properly
* fixed chat frame flickering happening sometimes on mouseover
* you can define how long you should hover the frame until it maximizes
* chatframes can stay maximized for a defined time before minimizing on mouseleave
* you can configure on which custom channels the chatframe maximizes

2.0
*Core rewritten
*You are now able to manage the chatframes you want to be affected (like chatframe 5, 6, 8, and so on)
*TOC bump

1.1
*A few improvements
*Now Updates when the Chat Window is too small or big

1.0.1
*Added Option, that the Chat will stay open for a defined time after mouseover
  Optional Files - Chicchai
File Name
Version
Size
Author
Date
Type
2.0.0
3kB
12-23-2008 08:21 AM
Addon
  Archived Versions - Chicchai
File Name
Version
Size
Author
Date
3.0
2kB
Lolzen
04-11-2009 03:30 PM
2.0
2kB
Lolzen
11-17-2008 04:52 PM
  Comments - Chicchai
Post A Reply Comment Options
Old 08-24-2009, 04:01 PM  
samhain_whitefox
A Murloc Raider
 
samhain_whitefox's Avatar

Forum posts: 4
File comments: 18
Uploads: 2
Question multiple chat windows

umm, oki, here's the thing, I want multiple chat windows, you know, one window for says, general chat and the combat log, and another SEPERATE window that has different windows in it, one for guild, party/raid, and whispers. I know how to seperate the windows, what I can't figure out is how to put the windows together once they're seperated from the main?

anyone help?
__________________
a heart alone
a heart of stone.

a shattered love
a battered child.

innocence lost
at rending cost.
samhain_whitefox is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-14-2009, 12:59 AM  
aflucero
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Keybind popup

Could you maybe add a way to key bind the popup so you don't have to mouse over the chat frame.
aflucero is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 04:33 PM  
wagglesmurfsignup
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
Is there a way to make the chat frame completely disappear when minimized? I have local minimizedLines = 0 in the .lua, but it still shows 1 line.

Thanks!
wagglesmurfsignup is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 04:32 PM  
wagglesmurfsignup
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
Re: Maximize on Editbox shown

Quote:
Originally posted by oxman
A little modification in core.lua :
local MaximizeOnInput = true -- Maximize when you begin to enter text

if (MaximizeOnInput) then
local orgChatFrame_OpenChat = ChatFrame_OpenChat
ChatFrame_OpenChat = function(text, chatFrame)
self = chatFrame
if ( not self ) then
self = DEFAULT_CHAT_FRAME;
end

if (not ChatFrameEditBox:IsShown()) then
Animate(self, UP, WaitAfterEnter)
end

orgChatFrame_OpenChat(text, chatFrame)
end

ChatFrameEditBox:SetScript('OnHide', function (self)
self = DEFAULT_CHAT_FRAME
if (ChatFrameEditBox:IsShown()) then
Animate(self, DOWN, WaitAfterLeave)
end
end);
end

then edit a line of CheckEnterLeave function :
elseif(self.wasOver and not MouseIsOver(self.Frame) and (not MaximizeOnInput or not ChatFrameEditBox:IsShown())) then
Very nice!

I found that I had to use:

if (MaximizeOnInput) then
local orgChatFrame_OpenChat = ChatFrame_OpenChat
ChatFrame_OpenChat = function(text, chatFrame)
self = chatFrame
if ( not self ) then
self = DEFAULT_CHAT_FRAME;
end

if (not ChatFrameEditBox:IsShown()) then
Animate(self, UP, WaitAfterEnter)
end

orgChatFrame_OpenChat(text, chatFrame)
end

ChatFrameEditBox:SetScript('OnHide', function (self)
self = DEFAULT_CHAT_FRAME
if (not ChatFrameEditBox:IsShown()) then
Animate(self, DOWN, WaitAfterLeave)
end
end);
end

in order for the box to hide itself after I typed something. All that's added is a logic edit in the 5th to last line.
wagglesmurfsignup is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-23-2009, 05:58 AM  
oxman
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 11
Uploads: 8
Maximize on Editbox shown

A little modification in core.lua :
local MaximizeOnInput = true -- Maximize when you begin to enter text

if (MaximizeOnInput) then
local orgChatFrame_OpenChat = ChatFrame_OpenChat
ChatFrame_OpenChat = function(text, chatFrame)
self = chatFrame
if ( not self ) then
self = DEFAULT_CHAT_FRAME;
end

if (not ChatFrameEditBox:IsShown()) then
Animate(self, UP, WaitAfterEnter)
end

orgChatFrame_OpenChat(text, chatFrame)
end

ChatFrameEditBox:SetScript('OnHide', function (self)
self = DEFAULT_CHAT_FRAME
if (ChatFrameEditBox:IsShown()) then
Animate(self, DOWN, WaitAfterLeave)
end
end);
end

then edit a line of CheckEnterLeave function :
elseif(self.wasOver and not MouseIsOver(self.Frame) and (not MaximizeOnInput or not ChatFrameEditBox:IsShown())) then

Last edited by oxman : 05-23-2009 at 06:09 AM.
oxman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-03-2009, 11:53 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Thank you for the reply.
The code [if event == "PLAYER_REGEN_ENABLED"] should be [if event == "PLAYER_REGEN_DISABLED"].
It works right after I change the code like that.
I love this addon. Thank you.
Kellindil is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-02-2009, 06:10 AM  
Cargor
A Flamescale Wyrmkin
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 130
File comments: 242
Uploads: 17
Not at the moment, but I maybe include it in the next version. In the meantime you can test this piece of code, place it wherever you want:
Code:
local combatMin = CreateFrame"Frame"
combatMin:SetScript("OnEvent", function(self, event)
	if event == "PLAYER_REGEN_ENABLED" then
		ChatFrame2:Maximize()
	else
		ChatFrame2:Minimize()
	end
end)
combatMin:RegisterEvent("PLAYER_REGEN_ENABLED")
combatMin:RegisterEvent("PLAYER_REGEN_DISABLED")
I didn't test it, though, so maybe it doesn't work
__________________
« Homepage | Git »

Oh hai!
Cargor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-01-2009, 11:59 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I love this one! Thx 4 the work!
well...is there any way to maximize the combatlog window while combat and minimize it after that? I need this cus my combatlog window has been placed separately in the rightbuttom in my UI.
Kellindil is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-28-2009, 01:00 PM  
Cargor
A Flamescale Wyrmkin
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 130
File comments: 242
Uploads: 17
The code looks good to me. Are you sure, you're using the right frame? I'm asking because ChatFrame2 is by default the combat log.
__________________
« Homepage | Git »

Oh hai!
Cargor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-25-2009, 05:19 AM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 223
Uploads: 1
Tried to modify the lua file like this:

["ChatFrame2"] = {
-- "CHAT_MSG_CHANNEL",
"CHAT_MSG_WHISPER",
-- "CHAT_MSG_WHISPER_INFORM",
},

So chatframe 2 should maximize if there are whispers coming in/going out I guess, but nothing happened really. If I mouseover to the chatframe while that tab is active still no chatframe movement. What did I do wrong or I need to add something else too?

Quote:
Originally posted by H0PE
huhh I didnt have to touch the configuration in the past, I could try copy paste the settings mirroring the main tab if thats possible. I check, thanks...
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 01:48 PM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 223
Uploads: 1
Quote:
Originally posted by Cargor
Did you add your additional tabbed chat-frames to the configuration-table? E.g.
Code:
["ChatFrame3"] = {}
Otherwise Chicchai won't check for mouseover or events on them. It is planned in the next version to reenable these features on all frames.
huhh I didnt have to touch the configuration in the past, I could try copy paste the settings mirroring the main tab if thats possible. I check, thanks...
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 09:57 AM  
Cargor
A Flamescale Wyrmkin
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 130
File comments: 242
Uploads: 17
Did you add your additional tabbed chat-frames to the configuration-table? E.g.
Code:
["ChatFrame3"] = {}
Otherwise Chicchai won't check for mouseover or events on them. It is planned in the next version to reenable these features on all frames.
__________________
« Homepage | Git »

Oh hai!
Cargor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 06:39 AM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 223
Uploads: 1
problem with the addon

In the past I had no issues with additional tabs on chat window. If I moved over to any of the tabs and started typing/or mouse-overed to these tabs chicchai nicely opened the window up. Recently mouse-over and/or entering text to the chat doesn't maximize my extra tabs, only if some text appears on the main tab.

Could you please fix this?

Details why I got additional tabs and I really need these: I've created 2 additional tabs on my chat window. I've put whispers on a separate tab (so I can kind of see all whispers and scroll up, withouth needing an addon to save log and stuff) and one for general channels so I can get rid of spammy text in big cities.

Many thanks in advance!
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-22-2009, 09:34 AM  
Cargor
A Flamescale Wyrmkin
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 130
File comments: 242
Uploads: 17
The original Chicchai doesn't do anything around chat frame background or borders. If you have a modified version of another author (e.g. an UI compilation), you should report the problem to him.
__________________
« Homepage | Git »

Oh hai!
Cargor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 01:35 PM  
arcuido
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I had the same Problem with the white background. I took a look into the lua file and edited line 26

original:
art = false, -- shows/hides background and borders around the chat frames

edit:
art = false, -- shows/hides background and borders around the chat frames


Solved the Problem for me.
mfg
arcuido 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.