SOLVED: Quick question about the [mod:___] part of a macro, and if what I'm looking for is possible

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.

1 Like