Hello!
Just a general question. I have a ton of macros that start with;
#showtooltip
/cast [mod:alt] …
and a few that start with;
#showtooltip
/cast [mod:ctrl] …
Would it be possible to combine the two?
For example, could I build a macro that does this;
if no modifier = /equip Fishing Rod
if mod:alt = /equip Bow
if mod:ctrl = /equip Polearm
I’m getting into fishing from level 1, and I realized while setting up Fishing Buddy that a macro that could do that would be really helpful - but the biggest reason is that I want to know if/how it’s done for future macro shenanigans.
Thanks!
Yeah, you can string together as many conditions as you’d like, provided there’s enough space in the macro.
#showtooltip
/equip [mod:ctrl] name_of_bow; [mod:alt] name_of_polearm; name_of_fishingrod
1 Like
This is exactly the chain of code I was looking for! Thank you so much!
I knew it was possible, but I didn’t have the knowledge of how.
Can you recommend a site or wiki to go and read more about what’s possible and how to format it?
Thanks again!
The pins in these forums.
Table of Contents:
Intro - Macro Basics
Macros - What can they do?
Macros - What can they NOT do?
Conditionals - How do they work?
Scripting - What is possible in a macro?
Macros - Tips, Tricks, and Shortcuts
1. Intro - Macro Basics
Macros are a very useful tool within the World of Warcraft client. They allow you to combine multiple actions onto a single button. While the entire macro will run every time, actions which trigger the Global Cooldown will stop later GCD actions from functionin…
In 9.2.5 Blizzard introduced a bug where the Self Cast Key interferes with @unit (mouseover, focus, etc.) and @cursor macros. If you want to use those types of macros, you need to change your Self Cast Key to None.
If you want more info, or to encourage Blizz to fix the bug, please see this thread:
General Macro Templates
Dragonriding Mount Macro
#showtooltip
/run if IsUsableSpell(368896) then C_MountJournal.SummonByID(1589) end
/cast [flyable] FLYING_MOUNT; GROUND_MOUNT
/dismount [mounted…
9.2.5
Blizzard has broken reticle spell macros that are bound to any key combination that includes you Interface > Combat > Self Cast Key modifier. In order to continue to use macros that leverage modifers to cast different spells you’ll need to set that key to None.
More info on the issue:
Below are my personal macros. The purpose of them is to condense the number of physical keys you need to press by controlling which spell is cast via modifier (alt/shift/ctrl) and adding enhanced target…
1 Like