Respawn Reason (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.14

Syntax

[the] respawn[ing] reason

Description

The <a href='#respawnreason'>respawn reason</a> in a <a href='#respawn'>respawn</a> event.

Examples

on respawn:
	if respawn reason is end portal:
		broadcast "%player% took the end portal to the overworld!"

View source