Weapon switch + ability macro problem

I’m attempting to make a macro that equips a weapon and then uses an ability, and when the ability is used it’ll benefit from the weapon the macro was switching to.

This is what I’ve tried
/equip Staff of the Blessed Seer
/Renew(Rank 2)

The problem I’m running into is it’s casting renew before the staff is considered equipped and it’s giving me a renew that isnt powered by the bonus healing on that staff.

You are probably going to have to use a modifier and do it with 2 clicks. It is pretty much always going to do both so close to the same time that the game doesnt update your stats.

how do i make a modifier that does it with two clicks? or do you mean like press 3 to wear staff and shift 3 to cast renew, not press 3 once and then press 3 again

Assuming your other weapon isn’t a staff…

#showtooltip
/equip [noworn:staves] Staff of the Blessed Seer
/cast [worn:staves] Renew(Rank 2)