Skip to content

NearestSpawn

Object that is used in finding spawns nearest to you.

Forms

spawn NearestSpawn[N]

The Nth nearest spawn

spawn NearestSpawn[Search]

The nearest spawn matching this search string (see Spawn Search).

spawn NearestSpawn[N,Search]

The Nth nearest spawn matching this search string (see Spawn Search).

Usage

/echo ${NearestSpawn[npc radius 100 "orc pawn"]}

Finds the npc containing orc pawn in its name that is within 100 of you.

/echo ${NearestSpawn[2]}

Finds the closest spawn to you (${NearestSpawn[1]} will always match yourself).