Is Valid (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.7, 2.10 (Scripts & Configs)
Syntax
%entities/scripts% (is|are) validDescription
Checks whether something (an entity, a script, a config, etc.) is valid. An invalid entity may have died or de-spawned for some other reason. An invalid script reference may have been reloaded, moved or disabled since.
Examples
if event-entity is valid