Perhaps putting the macro key on a Round Robin setup? And adding /targetlasttarget? That's probably how I'd hobble it together untill someone brilliant comes along and tells me a better way.

*queue brilliant person* VVV