WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Macro Script Help.. please (https://www.wowinterface.com/forums/showthread.php?t=52578)

GOSYDELIX 08-04-15 10:34 PM

Macro Script Help.. please
 
Hey there ,

First off, i'm playing a dk tank and i wanted to make macro that can announce when i pop AMS and also use the [Order of the Awakened Battle Standard] ( Item here ) for the group, but the item itself has a 15min CD so I don't want to announce for the party that i just used the item but nothing happend, but instead i would like help to build a macro that actually announces/says something in the party/instance chat IF the item gets used, and if it's on cooldown, it doesn't say anything and just uses AMS.

Thank you in advance.
Sincerely, Gosydelix

AMS : Anti-Magic Shell

SDPhantom 08-05-15 11:26 AM

This should show the icon, cooldown, and tooltip for the item along with only sending a message in the /say channel if the item was off cooldown.
Code:

#showtooltip Order of the Awakened Battle Standard
/run if GetItemCooldown(128454)==0 then SendChatMessage("Order of the Awakened Battle Standard placed","SAY") end
/cast Anti-Magic Shell
/use Order of the Awakened Battle Standard


GOSYDELIX 08-05-15 12:09 PM

Thank you so very much!


All times are GMT -6. The time now is 05:31 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI