oh and I was wondering, I was previously using idchattimestamps(1) and edited the lua to get the timestamps on the right like so:
if name == "ChatFrame2" then
text = string.format('%s [%s]', text, date('%H:%M:%S'))
text = string.format('[%s] %s', date('%H:%M:%S'), text)
just stole it from someone in the post your ui screenshot topic, but anyway.
how can I do this with the idchattimestamps2 lua?
Replace the original AddMessage function with this one :
if self.db.profile.Color.On then
local color = string.format("%02x%02x%02x", self.db.profile.Color.r*255, self.db.profile.Color.g*255, self.db.profile.Color.b*255)
text = string.format('|cff'..color..'%s|r %s', text, date(self.db.profile.Format))
text = string.format('%s %s', text, date(self.db.profile.Format))
self.hooks[frame].AddMessage.orig(frame, text, red, green, blue, id)
Isn't that like using a baseball bat to perform brain surgery? :)
I've had performance problems (like.. wow crashes) from using clearfont so a nice and neat chat interface to using the "SetChatWindowSize(index,size)" API call is really all I was shooting for. :) I will try and write it and see if it remotely works. Hehe.
Writing this kind of modules for idChat is quit easy, have a look on stickychannels for example.
If you want, I can write the two modules you want (I'm not sure justifying is that easy, but I'll give a try ^^), but not before tuesday. I've some more important jobs to do before :P
The wiki page talk about a plugin for handling url's, I've actually written it :) (Nothing to do this evening)
My plugin it's attached to this message, feel free to test it.
If the author of IdChat want to, I'll commit it to the SVN Trunk.
[EDIT] I've attached a new version, that use the Blizzar StaticPopup fonctionnality instead of FrameXML. If you've already downloaded the previous one, you can safely delete URLCopy.xml from your folder because this file isn't needed anymore.
If Industrial give me the permission, I will uploaded my work to the svn Trunk as soon as I can. (Thx Cladhaire for my account :D)