I did some modifications to the code, for 2 things:
- pet cooldowns, in the original version only player cooldowns are tracked
- announcing the cooldown expiry as an SCT message
It's pretty crude, but does most of what I'm interested in. One drawback is the announces for trinket cooldown expiries show up as "Trinket0Slot Ready" and "Trinket1Slot Ready", must be a simple thing to get the name of the item, I'll be looking into it tomorrow.
I attach the modified file if you think is a good idea to add those features to the SVN version (sorry for not providing a diff, but I haven't figured yet how to generate it :) )
Edit: well I was stupid, wasn't passing the proper name to the message, so trinket names show up properly now. I've updated the attachment with the corrected file.
I'm a noob when it comes to coding, what do I need to do to group those trap bars? What does uncomment mean?
Uncomment means "remove the characters that make the line a comment". Specifically, where the line is -- [" Trap$"] = "Traps", the -- at the beginning of the line tells the system "skip this line". Remove the two hyphens to "un-comment", then save the .lua file, and it should work the next time you run WoW.