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).
Examples¶
/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).