Forcerius wrote:Do you know a way to get /cast [target=Sanderic] Flash Heal to work?
I need a macro that self casts while still having a friendly targeted and without changing my current target.
Also, is there no command for /use? I need the same macro but for bandages and can't find any command that works on here for using items. Only on live.
/run CastSpellByName("Name of your spell", 1) does this, it will always cast on yourself
/use is provided in supermacro, I'd suggest you to use that addon, there's different solutions to this but they require 200+ figure macros
- Code: Select all
/run local i,j for i=0,4 do for j=1,18 do local d=GetContainerItemInfo(i,j) if d then local l=GetContainerItemLink(i,j) if strfind(l, "Conjured Mineral Water") then UseContainerItem(i,j) end end end end
is a macro to use an item (in this case Conjured Mineral Water)