I couldn't find a thread about general macro questions so I made this.
My specific question is how do you write a macro that eats the biggest healthstone you have in your inventory, ideally without linking to specific bag slots (made by warlocks with different tallent points). Seem like it should be doable, but as they have the same name might not be. Not seem this listed anywhere despite reading the huge warlock macro thread WoW Forums -> My Warlock Macros (2.1.0)
If needed first 3 slots of my backpack would be useful as the slots eaten from.
I've not heard of something like this being possible (I could be wrong), but the easiest way would be to just make a /use Master Healthstone macro, then just order them biggest->smallest in the first 3 slots of bag1. It ofc takes slightly more work having to reorganise them each time you pick up new stones, but as far as i'm aware, you cant have a macro do it for you.
The easiest way to do it is to just have a macro like:
/use Master Healthstone
Assuming you're using 3 master healthstones from warlocks with different ranks of improved healthstones. The order in which they are used is determined by their position in your bags from top-left to bottom-right, bag 0(backpack)-4.
You cannot just check to see if something exists in your backpack or not. Ultimately, you have to specify the slot or just put up with the standard WoW logic path for eating the first thing in your inventory. There isn't a way to always be sure you're eating the biggest healthstone in your backpack at all times whenever you push the button.
It allows you to define a list of items for each of up to 8 of your bag slots, each hotkey-able, and it'll move the highest priority item in each list that isn't on cooldown into its corresponding slot. For example, I use it with 2 slots. In one slot, I have a list of healthstones and health potions, in that order. In the second slot, I have mana gems and mana pots, also in that order. Usually at the start of a fight, I'll have a healthstone and a mana gem in the corresponding 2 slots. If I hit my hotkey for the healthstone/health pot slot to use the healthstone that was there, conjured items are now on cooldown, so it'll swap a health pot into the first slot, and a mana pot into the second.
I'd like to know if it's possible to have one macro in which you both summon your Water Elemental, and use it's nova, but the pet should only be summoned if I don't have another Water Elemental active.
I'm aware of what commands to use to summon the pet and use the ability, but is there any condition like [nopet] or something similiar?
Something like this, though I don't know what to use within the .
/cast [nopet?] Water Elemental
Wouldnt it just be easier to put your healthstones on your bars and make a key-binding to it? Your bars do not have to be visible to be key-binded.
Unless you can bind ONE key to MULTIPLE buttons, no. In times of long boss fights and 3 warlocks in the raid group to supply 3 different healthstones its quite handy to have a 1 button mash macro to swallow a healthstone in emergency cases.