Update: Version 2.5
Please remove your SavedVariables before updating to this version of CombatTimer!
Combat Timer is a simple addon that times how long your combat sessions last.
It will tell you the time you enter combat, the time you exit combat and the time you spent in combat. Really, there is no point to it - I wrote it more to learn the way WoW addons work.
Saying that, it could be useful for boss fights, especially with achievements like "Gotta Go!" that involve beating them in a certain time limit. With this mod enabled you would be able to see how close you came to achieving/not achieving the achievement (the advantage over the built-in stopwatch is that this addon is automatic).
To customize the chance of an emote occurring, use the command /comtim percent <number>
You are able to add emotes to the emote lists, the command for this is: /comtim <ent/ext/log>emote <emotename>
Where <ent/ext/log> is the desired list of emotes to change (ent for entering combat, ext for exiting combat, log for logging in) and <emotename> is the emote token from this list (capitalisation does not matter).
To remove emotes from the lists use the command: /comtim <ent/ext/log>emote <emote number>
Where <ent/ext/log> is the desired list of emotes to change (ent for entering combat, ext for exiting combat, log for logging in) and <emote number> is the number next to the emote when using the command /comtim <ent/ext/log>emotes
To get a list of your current emotes, use the command: /comtim emotes
You can also get lists of the ent, ext and log emote lists with the command: /comtim <ent/ext/log>emotes
Real randomisation rather than the weighted system of previous versions
Added more emotes to the default tables
Slash command code cleaned up and improved
Users can now add extra emotes to the emote tables in game
Number rounding should not cause incorrect times to be displayed
Implemented code to fix "1 minutes" and "1 seconds" (they now display as "1 minute" and "1 second".
Eliminated bugs with old method of tracking time.
The chance of emotes being used can be changed now, look in the CombatTimer.lua file and change "local percent = 5" to "local percent = anumber"
Almost a complete rewrite
Emotes are now enabled by default on a 5% chance
Times the length of combat
---------- Very Old Versions ----------
1.1: Timestamps are now shown on entering/exiting combat!