Team Color (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

(fake|packet) team color of %packets%

Description

The Skript color used for member names and glowing outlines. Send the team packet to apply changes to viewers. RGB colors use the nearest supported team color.

Examples

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

View source