This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Cast only if in combat... and then...
Post Reply
Return to board index
Post by
dtothen
Since switching my keybindings so that I use C to cast Inner Focus and then Mind Blast, I often manage to waste IF when I don't need to.
What I'm looking for, if anyone can help me, is a macro that will check that I'm in combat before casting IF. If I press C when out of combat, it would then open up my character pane.
Thanks!
Post by
173035
This post was from a user who has deleted their account.
Post by
Vlet
Obviously I can't test this at the moment, the servers being down an all, but this may do the trick:
/castsequence Inner Focus, Mind Blast
/script ToggleCharacter("PaperDollFrame");
Post by
Neffi
/script doesn't take conditionals.
/castsequence Inner Focus, Mind Blat
/run if not InCombatLockdown() then ToggleCharacter"PaperDollFrame" end
Post by
dtothen
Thanks. I currently have:
#showtooltip Mind Blast
#show Mind Blast
/castsequence Inner Focus, Mind Blast
/run if not InCombatLockdown() then ToggleCharacter("PaperDollFrame") end
It won't let me MB if I'm not in combat - however, it
does
activate IF.
Post by
Neffi
Because your conditionals are wrong. To the macro engine, that reads:
if (in combat) OR (not channeling mind flay)
. Those two conditionals need to be combined into the same bracket.
Also, #show is redundant. #showtooltip covers all #show does.
#showtooltip Mind Blast
/castsequence Inner Focus, Mind Blast
/run if not InCombatLockdown() then ToggleCharacter("PaperDollFrame") end
Post by
dtothen
Aha, thank you muchly!
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.