Scoreboard - Objective Get (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.6.0

Syntax

objective (with id|from [id]) %string% [(from|of) %scoreboard%]

Description

Get an already registered objective. Optionally can input a scoreboard (will default to main scoreboard).

Examples

set {_obj} to objective with id "le-objective"
set {_obj} to objective with id "my_objective" from player's scoreboard

View source