I wanted to make a macro that simultaneously calls forth a mount and a vanity pet.So i ended up to create that:
/castsequence
/use vanity pet's name
/use mount's name
Even though it seems to work,it calls forth both pet and mount,every time i use it i get this error message:
Message: Interface\FrameXML\ChatFrame.lua:849: Usage: CastSpellByName(name[, target])
Time: 01/14/11 15:15:33
Count: 13
Stack: [C]: in function `CastSpellByName'
Interface\FrameXML\ChatFrame.lua:849: in function <Interface\FrameXML\ChatFrame.lua:781>
Interface\FrameXML\ChatFrame.lua
Interface\FrameXML\ChatFrame.lua:4108: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua
Interface\FrameXML\ChatFrame.lua
[C]: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:274: in function `handler'
Interface\FrameXML\SecureTemplates.lua:541: in function <Interface\FrameXML\SecureTemplates.lua:489>
Locals: (*temporary) = nil
(*temporary) = nil
So,my questions are,1st if there is a way to alter the macro so no error appears or if there is a way to "hide"/prevent the error from showing up;or 2nd if there is any other way/macro that i can use for the simultaneous call of a vanity pet and mount.Side note,the macro i made and use need to be hit once to call both pet/mount if i pressed it again it just dismiss them both again,i like that so i would like to keep this that way,i mean to only have to press the macro button once and not two times,one to summon pet and one for the mounts as:
/castsequence vanity pet's name,mount's name
thanks for any replies,Vorel