Castcounting macro counts your spellcasts
Xalit is entertaining himself before the expansion by crafting some macros, and he's come up with a pretty clever one that will count the number of times you cast a certain spell. He's got a few different versions (including one that pushes the total out to "say" occasionally), but here's probably the most helpful:/cast Water Shield
/run i="Water Shield" if ws==nil then ws=0 end t=GetSpellCooldown(i) if t==b then else c=0 end b=GetSpellCooldown(i) if b==t and c==0 then ws=ws+1 c=1 end
Which will both cast Water Shield for you (obviously, you'll have to change the name if you want to count casts of a different spell), and then use:
/run SendChatMessage(ws,"SAY")
To kick the count out to the Say chat channel. Naysayers among you may say "well that's pointless," and they're kind of right -- it doesn't really matter how many times you cast something, and the macro doesn't do anything else for you besides update a variable to keep track of that number.
But it is interesting to see just how many times, say, you pressed the Fireball button during the raid last night, and maybe there is some use for this information somewhere (maybe checking the frequency of use or viability of certain spells or trinkets?). Might be a good macro to have when you want to know more about what you're casting.
Filed under: Analysis / Opinion, Fan stuff, Odds and ends, Add-Ons, Instances, Buffs






Reader Comments (Page 1 of 2)
Grendel Mar 2nd 2009 2:32PM
Doesn't recount do that for you
Rihlsul Oct 6th 2008 5:21PM
I know, right? If you're going to muck with obscure macros, 'lrn2recount'.
Lemons Oct 6th 2008 3:51PM
I'm guessing it stops counting when you log off :(
Too bad, it would be interesting (or saddening?) to see how many fireballs you've cast in your life or something. I know a mod can keep track of that sort of thing, some1 should make one!
Warbane Oct 6th 2008 4:12PM
Already been made. I use ButtonSmashFu for fubar:
http://files.filefront.com/FuBar+ButtonSmashFu+v707245/;11817190;/fileinfo.html
Darkwhisp Oct 6th 2008 9:28PM
Maybe you should 0.0 haha jk
NeSuKuN Oct 6th 2008 3:52PM
well that's pointless
Arras Oct 6th 2008 3:59PM
Very interesting...I'm wondering if this can be adopted to see what other people - say in a raid - are casting?
Would probably need a separate recount-like mod to do it
Kyew Oct 6th 2008 4:00PM
Anyone know you you'd go about manually resetting the value to 0?
zappo Oct 6th 2008 4:35PM
/run ws=0
Joshua Ochs Oct 6th 2008 4:01PM
Recount FTW.
Junths Oct 6th 2008 4:09PM
This macro is just a clunky, useless version of what Recount has been doing for months. Thanks for yet another interesting and helpful post, Mike.
superfrank Oct 6th 2008 4:13PM
Thanks for yet another interesting and helpful post, Junths
zappo Oct 6th 2008 4:44PM
I'd like to head this thread off at the pass and thank myself for an irrelevant post.
Crayzeigh Oct 6th 2008 4:12PM
Useful if you can reference the number inside the macro for wonderful "if/then" fun.
Can lead up to more complex cast-sequence type macros.
dan Oct 6th 2008 4:17PM
Recount or ya know, wws.
durendul Oct 6th 2008 4:33PM
might be a lead up for something like first two times you click teh bution cast fire ball and the third it blinks or something like that
im just pulling stuff out of my ass i have no idea
kirrathjehrain Oct 6th 2008 5:02PM
There's also Historian, which not only tracks spell casts, but tons of other totally useless information, such as the number of times you've jumped or swam in lava. Among the (slightly) more useful bits of info it compiles are dates, times, and places where you dinged, how many of each mob you've killed, etc.
http://wow.curse.com/downloads/wow-addons/details/historian.aspx
hylian_loach Oct 7th 2008 6:31AM
And there's also the WoW Achievements System.
I'm pretty sure that tracks quite a few things too.
sleeper Oct 6th 2008 5:58PM
Wowwebstats.
Steve Oct 7th 2008 3:39AM
Indeed, WoW Web Stats is definitely the way forward, but this is a nice little macro if you're not raiding or if you're just interested in small-scale stuff.