command /setspawn:
permission: setspawn
trigger:
set {spawn} to player's location
command /spawn <player>:
trigger:
if args-1 is not set:
teleport player to {spawn}
send "&aTeleporting to &bspawn." to player
else if args-1 is set:
teleport args-1 to {spawn}
send "&aTeleporting to &bspawn." to args-1