expression
all npcsHyperCitizensA list of the numbers of every NPC
for each {_id} in all npcs:
send "&7%{_id}%: &f" + name of npc {_id}← All of the Docs HyperCitizens
all npcsHyperCitizensA list of the numbers of every NPC
for each {_id} in all npcs:
send "&7%{_id}%: &f" + name of npc {_id}npc named <name>HyperCitizensThe number of the NPC of that name; unset if there is none
set {_id} to npc named "Guide"name of npc <npc>HyperCitizensIts name, without colours
hide name of npc arg.1location of npc <npc>HyperCitizensWhere it is, as a location
teleport player to location of npc {_id}command /npcs:
trigger:
for each {_id} in all npcs:
send "&7%{_id}%: &f" + name of npc {_id}
command /guide:
players only: true
trigger:
set {_id} to npc named "Guide"
if {_id} is not set:
send "&cThere is no guide yet."
stop
teleport player to location of npc {_id}
| Syntax | Result |
|---|---|
all npcs | A list of the numbers of every NPC |
npc named <name> | The number of the NPC of that name; unset if there is none |
name of npc <npc> | Its name, without colours |
location of npc <npc> | Where it is, as a location |