not sure if it works, but this is what I came up with.
/target [target=fragment,raid][harm]
What I'm trying to to do, is select a fragment that is attacking another raid member with out it picking a fragment that is attacking me... any ideas if this will work or any one have one that will work?