World (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.0

Syntax

[the] world [of %locations/entities/chunk%]

Description

The world the event occurred in.

Examples

world is "world_nether"
teleport the player to the world's spawn
set the weather in the player's world to rain
set {_world} to world of event-chunk

View source