command /dolacz [] []: trigger: if arg 1 is "red": if arg 2 is not set: teleport player to {spawn.red} set {druzyna.%player%} to blue send "&aDolaczyles do druzyny blue" if arg 1 is "blue": if arg 2 is not set: teleport player to {spawn.blue} set {druzyna.%player%} to red send "&aDolaczyles do druzyny red" if arg 1 is "ustawspawn": if arg 2 is "blue": set {spawn.blue} to location of player send "&austawiono spawn blue" if arg 1 is "ustawspawn": if arg 2 is "red": set {spawn.red} to location of player send "&austawiono spawn red"