New Team (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[a] new team [named] %string%

Description

Creates and registers a team with the given name. If a team with that name already exists it is returned unchanged, so reloading a script does not fail.

Examples

set {_team} to a new team named "red"
set team color of {_team} to dark red
add player to members of {_team}

View source