I currently have 2 shamans, zmon and xmon. I am using the simple macro for healing:

/assist zmon
/cast Healing wave

But at the moment when i click the button, he would cast the healing wave before he assist zmon, meaning he would heal himself or his previous target before he acquires his new target.

Can anyone please offer some advise?