Macro Arena targeting help

Trying to make a macro that will cast renew party2 first if he’s not dead/ exists and then if neither it will cast cast on party1pet

Added a fallback to default is part1pet is dead.

#showtooltip
/cast [@part2,help,nodead] [@party1pet,help,nodead] [] Renew