Is Bed/Anchor Spawn (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.7
Syntax
[the] respawn location (was|is)[(n'| no)t] [a] (bed|respawn anchor)Description
Checks what the respawn location of a player in the respawn event is.
Examples
on respawn:
the respawn location is a bed
broadcast "%player% is respawning in their bed! So cozy!"