command /setspawn: trigger: set {spawn} to location of player command /spawn: trigger: teleport player to {spawn}