First invite the person you want to attack to your group.
Then target a hostile target and turn on auto attack (you don't need to be in range of the hostile target.)
Get in range of the person you want to attack, Right click on his avatar and inspect. Voila!