I use FTL. I'm trying to make a macro that will target my guys and assist, or follow them if they have no enemy target. Can anyone toss me some help? This is my targeting structure:

/target [mod:ctrl,mod:alt,nomod:shift]Hilal;
[mod:alt,mod:shift,nomod:ctrl]Hubal;
[mod:ctrl,mod:alt,mod:shift]Illat;
[mod:ctrl,nomod:alt,nomod:shift]Taalab