Trying to write a marco to send/stop my pet to attack my party leader target
stop my toon from casting spells
start my toon shooting with the wand
I have some success but cannot get them to work all together

/stopcasting [mod:shift]
/petfollow [mod:shift]
/petattack [mod:ctrl]

This will stop and start pet attack and toon from cast spells except it will not stop channeling spell. Will only work if my toon has already target a mod

if I change "/petattack [target=party1target,harm][]", this will brake the marco

/cast [target=party1target,harm][] Shoot

This will work when my toon is in a group but my by it self.

/cast [target=party1target,harm][] Shoot
/Shoot

will work but will also brake the /petfollow command and my toon will stop casting but start shooting the mod with wand.

Thanks for all the help from everyone on my last question.