Unless I'm using it improperly, which I don't think I am, when you attempt to use @p (and I assume @r and @a) to add the nearest player to a team, it will just add @p, as if @p is the players name.
Related issues
duplicates
Comments

Unless I'm using it improperly, which I don't think I am, when you attempt to use @p (and I assume @r and @a) to add the nearest player to a team, it will just add @p, as if @p is the players name.
migrated
(Unassigned)
Unconfirmed
scoreboard
Snapshot 13w05a
Retrieved
Duplicate of MC-8790, please use the search function to see if your bug has already been submitted. Currently over 50% of tickets are being closed as duplicate.