Reply
Thread Tools Display Modes
Unread 01-16-13, 08:20 PM   #1
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 65
Spell and Focus Macro no longer works

Can anyone explain why the following macro no longer works in MoP and if there's something I can change to make it work?

Code:
#showtooltip
/clearfocus  [target=focus,dead]; [target=focus,noexists]; [mod:ctrl]
/stopmacro [mod:ctrl]
/focus [target=focus, noexists, mod:shift]
/cast [target=focus, exists, mod:shift] Blood Fear; Blood Fear
I have another one with Banish as the spell but it doesn't work either.

Thanks,

Brad
bsmorgan is offline   Reply With Quote
Unread 01-16-13, 09:52 PM   #2
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,569
Your macro syntax is incorrect; that macro shouldn't have ever worked. When specifying multiple conditions (eg. for /clearfocus) for the same command, you separate them with a space, not a semicolon. Semicolons are used for specifying different actions for different conditions with the same command (eg. /cast [a] x; [b] y; z).

Try this:
Code:
#showtooltip Blood Fear
/clearfocus [@focus, dead] [@focus, noexists] [mod:ctrl]
/stopmacro [mod:ctrl]
/focus [@focus, mod:shift]
/cast [@focus, mod:shift] [] Blood Fear
(I also cleaned up some other redundant/unnecessary stuff.)
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » Spell and Focus Macro no longer works

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