I am working on a Feed Pet Macro.
This is what the macro is supposed to do:
When clicking the macro without modifier, the pet should get a Spotted Yellowtail. When clicking with alt pressed, it should cast Feed Pet without automatically selecting the pet food.
Obviously, the pet food should not be eaten by the hunter if the Feed Pet is not casted for whatever reason. I have seen others using [pet,nodead] as modifer to achieve this. However, if the hunter is seated, the spell will not go out and the fish will still go straight into his belly. Therefore, I chose to use the [curor] modifier to resolve this issue.
This is the macro as I tried to create it:
#showtooltip
/cast Feed Pet
/use [cursor,nomod] Spotted Yellowtail
/stopspelltarget [cursor,nomod]
Feed Pet is casted whether or not a modifier is active. When no modifier is active, the Spotted Yellowtail is selected. If there still is a selection cursor at this point whithout a modifer being active, the selection cursor is deselected.
However, it does not work.
I went on to test the [cursor] conditional, and it seems like it does not work at all.
Did I missunderstand what this conditional is doing?
I have understood that when the selection cursor is active – the cursor features the blue framing – it is true and false if not.
Currently, I do not know if I am doing something wrong or if the game is doing something wrong.
Please enlighten me.
Eradin