Shadow, that code stuff is from the export function of power aura.
But yea, its not too bad to set up yourself.
As far as tracking things other than buffs debuffs. without looking at it in game i am not sure if it does cool downs. i probably does though it has a lot of triggers. like rage/energy/runic power and such.
you can track alot of things with it
like,you want a fancy symbol to show up when you have missile barrage or a full stack of arcane blast
and as far as cooldowns,it won't neccessarily have a countdown timer for you since it can't recognize how much time is left on the skill,you can only tell it to "proc" at any certain event and only at the moment of availability it seems
you can always try
Coolline
http://www.wowinterface.com/downloads/info12467-CoolLine.htmlI think this one is the most configurable in regards to a cooldown timer and such,with a great aesthetic appeal also
and then you could also try
ForteXorcist
http://www.wowinterface.com/downloads/info7532.htmlthis one is nice,but it is absolutely in favor of warlocks since it has cooldowns specifically for you OP locks out there
and lastly there's
Watcher
http://wow.curse.com/downloads/wow-addons/details/shotwatch/download/363313.aspxstill in beta phase where the code is being written and has some minor bugs,but some notes from the author seem like it'll be choice for cooldown timers in the near future