I have this on my server /tpt.  If they are friend or in a clan it acts like /tpr but skips the /tpa.  It was trivial to code reusing the existing code in NTeleport.  NTeleport is exceptionally well coded and easy to repurpose.  Happy to share with the the current maintainer of NTeleport if they want to add it.