Thread Tools Display Modes
08-04-15, 10:34 PM   #1
GOSYDELIX
A Flamescale Wyrmkin
 
GOSYDELIX's Avatar
Join Date: Feb 2007
Posts: 120
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
__________________
  Reply With Quote
08-05-15, 11:26 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,308
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
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-05-15 at 11:28 AM.
  Reply With Quote
08-05-15, 12:09 PM   #3
GOSYDELIX
A Flamescale Wyrmkin
 
GOSYDELIX's Avatar
Join Date: Feb 2007
Posts: 120
Thank you so very much!
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Macro Script Help.. please

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off