New Packet Team (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[a] new (fake|packet) team

Description

Creates a team packet. Name is required. Sending creates or updates the team automatically for each viewer.

Examples

command /red-squad:
    trigger:
        set {_team} to a new packet team:
            name: "red"
            color: red
        send packet {_team} to player
command /red-squad-fake:
    trigger:
        set {_team} to a new fake team:
            name: "red"
            color: red
        send packet {_team} to player

View source