IsAvailable() function? or something like it?
Moderators: Fridmarr, Worldie, Aergis, _Chloe
3 posts
• Page 1 of 1
IsAvailable() function? or something like it?
I'm wondering if there is a function you can call by macro that will drive some in/then/else logic regarding spell cooldowns.
In english:
I want a macro that does basically this:
Is this even possible?
In english:
I want a macro that does basically this:
- Code: Select all
If IsAvailable(Ardent Defender)
Then /rw something
/cast AD
/in 10 /rw ad faded
Else /stopmacro
Is this even possible?
-

Chunes - Posts: 2196
- Joined: Thu May 08, 2008 3:46 pm
Re: IsAvailable() function? or something like it?
There used to be a scripting command that would check the CD on dire bear form IIRC, but I'm not certain that functionality is still available to players. I know I've seen it on wowwiki; will dig and see if I can find it.
-

fuzzygeek - Maintankadonor
- Posts: 4828
- Joined: Wed Aug 01, 2007 1:58 pm
Re: IsAvailable() function? or something like it?
hey,
no you can't do that, the only conditions you can (ever) use incombat are the macro-conditions outlined here: http://www.wowpedia.org/Making_a_macro#Conditionals .
But if you just want to announce that AD is on (and off) you can either grab ThatJustHappened ( http://maintankadin.failsafedesign.com/ ... =viewtopic ) or use WeakAuras and actions onShow and onHide (Chat - Raidwarning - "AD on" ... "AD off").
Bye, RedAces.
no you can't do that, the only conditions you can (ever) use incombat are the macro-conditions outlined here: http://www.wowpedia.org/Making_a_macro#Conditionals .
But if you just want to announce that AD is on (and off) you can either grab ThatJustHappened ( http://maintankadin.failsafedesign.com/ ... =viewtopic ) or use WeakAuras and actions onShow and onHide (Chat - Raidwarning - "AD on" ... "AD off").
Bye, RedAces.
-

RedAces - Posts: 500
- Joined: Tue Dec 01, 2009 9:39 am
- Location: Germany
3 posts
• Page 1 of 1
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: No registered users and 3 guests

