WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Complicated macros (https://www.wowinterface.com/forums/showthread.php?t=50765)

Triksterism 12-17-14 07:13 PM

Complicated macros
 
Hello everyone! Today I took some time to consolidate and update my repertoire of macros. However, I am having trouble with one of my macros.

I am deriving two of my macros from the following macro:

#showtooltip
/run local f,c="172106",IsInRaid()and "RAID" or IsInGroup(1)and "PARTY" or IsInGroup(2)and "INSTANCE_CHAT";if GetSpellCooldown(f)==0 and c then SendChatMessage("{rt1}" ..GetSpellLink(f).. " Active!{rt1}",c)end
/use !Aspect of the Fox

That macro works great. From it I've made two other macros:

#showtooltip Ancient Hysteria(Exotic Ability)
/castsequence reset=5 Call Pet 4
/run local f,c="90355",IsInRaid()and "RAID" or IsInGroup(1)and "PARTY" or IsInGroup(2)and "INSTANCE_CHAT";if GetSpellCooldown(f)==0 and c then SendChatMessage("{rt1}" ..GetSpellLink(f).. " Active!{rt1}",c)end
/use Ancient Hysteria(Exotic Ability)
/use Dismiss Pet

and

#showtooltip Gift of Chi-Ji(Exotic Ability)
/castsequence reset=5 Call Pet 5
/run local f,c="159931",IsInRaid()and "RAID" or IsInGroup(1)and "PARTY" or IsInGroup(2)and "INSTANCE_CHAT";if GetSpellCooldown(f)==0 and c then SendChatMessage("{rt8} Resurrecting %T {rt8}",c)end
/use [@mouseover,dead,help][dead,help]Gift of Chi-Ji(Exotic Ability)
/use Dismiss Pet

The reason for the /run script is to prevent me spamming chat when I am trying to use the aforementioned abilities. However, the Ancient Hysteria macro seems to work just fine, but my Gift of Chi-Ji macro doesn't seem to print target or anything.

Please help!


All times are GMT -6. The time now is 01:38 AM.

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