It has no errors but only on player can join a team
I have skript, skquery, skrayfall and skellett
I have skript, skquery, skrayfall and skellett
Code:
command /team:
trigger:
if {red::*} > {blue::*}:
set player's prefix to "&9"
add player to {blue::*}
send "&9You have been added to blue team" to player
else:
if {blue::*} > {red::*}:
set player's prefix to "&c"
add player to {red::*}
send "&cYou have been added to red team" to player
else:
if {blue::*} = {red::*}:
set player's prefix to "&c"
add player to {red::*}
send "&cYou have been added to red team" to player
Last edited: