Packet Team Members (Effect) — skPackets
Addon: skPackets · Category: Effect · Since: 1.0.0
Syntax
add %entities/packetentities/texts% to [the] (fake|packet) team %packet%Description
Adds or removes players, entities, packet entities or entry strings from a packet team. Players use their names; other entities use UUIDs. Adding moves the entry from its previous team definition. Removal only affects the specified team. Send the team packet to apply changes to viewers. The fake and packet prefixes are aliases.
Examples
command /team-members:
trigger:
set {_team} to a new packet team:
name: "members"
add player to the packet team {_team}
send packet {_team} to player
wait 5 seconds
remove player from the packet team {_team}
send packet {_team} to player
command /team-members-fake:
trigger:
set {_team} to a new fake team:
name: "members"
add player to the fake team {_team}
send packet {_team} to player
wait 5 seconds
remove player from the fake team {_team}
send packet {_team} to player