hi was wondering if anyone can help me, i am trying to create a macro that allows my clones to heal my mains target (focus target) yet if its hostile heal focus

think what im getting stuck on is the checks and help would be much appreciated