Bump, this might be interesting, but you'd do your best to prevent this from being exploited to auto-TP to another spawn instead of the AFK Spawn.
Instead of an AFK Spawn, I'd suggest an auto team mover so the player is moved to an AFK Group, and thus, teleported to an AFK Spawn.