Download
(2Kb)
Download
Updated: 10-15-08 03:08 AM
Pictures
File Info
Updated:10-15-08 03:08 AM
Created:unknown
Downloads:6,743
Favorites:69
MD5:

Chat Timestamps  Popular! (More than 5000 hits)

Version: 1.6
by: Skizo [More]

Description

This very tiny mod adds a customizable timestamp (defaulted to [HH:MM:SS] format) to every chat window there is.

Unlike some other addons for timestamps (just like Prat plugin for instance), this works perfectly with every Combat Log window aswell.


Commands

/cts format <timeformat> - sets timestamp format
/cts status - displays settings


Format Examples

Assuming time is 14:50:21
%H:%M:%S - Prints out "14:50:21"
%I:%M:%S %p - Prints out "02:50:21 pm"

More infos about time formats can be found here.

Note: Since version 1.5, two custom types have been added, #H and #I which replace %H and %I. Both of them are case sensitive and provide an easy way to have non padded hours (07 will become 7 and so on).


Color Codes

As of patch 1.4 you can now use color codes too. The format is the following:

|cAARRGGBB-text here-|r
AA = Alpha, RR = Red, GG = Green, BB = Blue

So, for example, if you want a standard 24h red timestamp, you would use |cFFFF0000[%H:%M:%s]|r as your format.

v1.06
- Fixed/Updated TOC

v1.05
- Fixed a typo which prevented custom format to reload properly upon login
- Added two custom formats #H and #I to remove the trailing zeroes from hours

v1.04
- Added escape codes after Silenia's request
Optional Files (0)


Post A Reply Comment Options
Unread 09-09-08, 10:39 AM  
Skizo
A Kobold Labourer
 
Skizo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 4
Originally posted by Silenia
Is there an option to change the color for the time?
About the previous comment, I just made a hack that will let you use the escape codes to alter colors and whatever you want. So yes, there's a way to change color, will update asap.
Report comment to moderator  
Reply With Quote
Unread 09-09-08, 10:21 AM  
Skizo
A Kobold Labourer
 
Skizo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 4
Quite a few questions... let's see...

Yes, it can be used along with Prat, I do that too. You might want to disable Prat's timestamp though, or you will have 2 instead of one.

About the "unused space", as far as I know that's standard. Little line indentation to avoid confusion. I must admit though that I'm not sure. If the indentation is caused by Prat, then it's quite sure that my addon shouldn't do that. If it's standard, I'm afraid that nothing can fix that (unless proven wrong, ofc

And about HitsMode, I have no idea, but I'm quite positive about it. For the same reason why it works with Prat aswell. It just intercepts the messages and adds a timestamp on top, and then sends back to the system, nothing more nothing less.

And about the colors... I must admit I forgot to try, but I think so... You should try with a string like "|cFFFF0000%H:%M:%S|r" and see what happens. I'm gonna try that right away and check if it works fine, but it should.
Report comment to moderator  
Reply With Quote
Unread 09-09-08, 10:10 AM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2988
File comments: 334
Uploads: 10
Tiny question... or two

Can I use this with Prat? The problem I have with the time in Prat is there is a bit of unused space if a sentence runs into a second line. If yours will work with Prat and I don't have that unused space, i would much rather use your addon for the time.

Will your addon work with HitsMode?

Is there an option to change the color for the time?

Many thanks!
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
Last edited by Petrah : 09-09-08 at 10:11 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: