Command reference

NPC

NPCBuilderbuilder

Command words
npc
Permission
JuniorAdmin

Help on NPC

The NPC command is used to create, edit and load NPC Templates. NPC stands for Non-Player Characters. The templates are used to generate characters in the world, which once created are as fully-featured as player characters. The core syntax to use this command is as follows: npc edit new simple|variable - creates a new NPC prototype npc edit <id|unique name> - opens prototype for editing npc edit - shows the currently open NPC. Equivalent to doing NPC SHOW <ID> on it. npc edit submit - submits the open NPC for review npc edit close - closes the open NPC npc edit delete - deletes the open NPC prototype (only if not yet approved) npc edit obsolete - marks the NPC as obsolete, and no longer loadable npc show <id|unique name> - shows info about prototype npc review all|mine|<admin name>|<id> - opens the specified NPC prototypes for review and approval npc clone <id|unique name> [<new name>] - clones an existing prototype to a new one (also opens for editing) npc rename <match regex> <replacement text> - bulk renames active NPC prototype names using case-sensitive .NET regex replacement syntax Quote regexes containing spaces. Replacement text may use numbered groups such as $1 or named groups such as ${name}. The command previews every matched Current, Pending Revision and Under Design revision, validates the final name set, and changes nothing if any name conflicts or is invalid. Example: npc rename "^old_(?<name>.+)$" "new_${name}" npc renameunique <match regex> <replacement text> - bulk renames active NPC prototype unique lookup names Use this command for stable builder and script references. It preserves the existing unique-name validation rules. Example: npc renameunique "^antiquity_(?<name>.+)$" "historic_${name}" npc set <parameters> - makes a specific edit to an NPC. See NPC SET HELP for more info npc make <id>|<target> - clones a PC into a simple NPC Template (also opens for editing) npc load <id|unique name> - creates a new NPC character from the specified template at your exact current location npc instances <template> - lists all NPCs that have the specified template npc list [<filters>] - lists all NPC prototypes. See below for filters: all - includes obsolete and non-current revisions mine - only shows NPCs you personally created by <account> - only shows NPCs the nominated account created reviewed <account> - only shows NPCs the nominated account has approved +<keyword> - only shows NPCs with that keyword in their name, unique name or builder comment -<keyword> - only shows NPCs without that keyword in their name, unique name or builder comment comment:<text> - only shows NPCs with that text in their builder comment &<ai> - only shows NPCs with that AI attached