Entity:info ff teamspawn
From Fortress Forever Wiki
info_ff_teamspawn is a Fortress Forever spawn point. The Lua script decides who can spawn here.
- validspawn(FFSpawn, CFFPlayer) --called on each spawn point whenever a player needs to spawn. Returns true/false for whether the player can spawn at the spawn point. The player will be spawned randomly among all info_ff_teampawns which report as valid.