Hi! I need help with comparing the player's team to a team in a custom command with Skript. this is the command so far but i don't see any method to comparing a team. Any help would be accepted!
Code:
Code:
code_language.skript:
command /pro:
description: Teleports the player if its team is not "Noob"
trigger:
if %team of player% is not "Noob":
execute console command "tp %player% 1 1 1"
send "&aYou have been teleported to Pro Level!" to player
else:
send "&cYou are a Noob! You cannot use this command." to player