request condition or function regarding pet death

aloha…

request a
if pet die … walk to XY … revive & summon fellow … then back to town

as condition
or function in fellow page

reason:
some have weak pet vs training area monsters
or low lvl … lvling up at hard spots for it

therefore
we some times stuck it on a corner by scripts
some times it stucks
some times not

or
would be nice to have an option that says “stuck pet”
making char walk near walls/objects on its way
of range 10 for example