Need a Little Help

There are two things I would like to do to reduce the number of buttons.

First, I want to put petattack and kill command on the same button to see if it will stop my pet attacking random mobs in dungeons. would it be:

/castorder petattack; Kill Command


Second, I have a macro that will throw my pet food when not in combat or cast mend pet during combat. How would I add revive pet if the pet is dead to this setup:

/cast [nocombat] Feed Pet; [combat] Mend Pet
/use [nocombat] Aethereal Meat


Thank you in advance.

/cast Kill Command
/cast [pet,nocombat] Feed Pet; Mend Pet
/use [pet,nocombat] Aethereal Meat