# Npc

## 脚本参数

标注 **\*** 为必填参数，带有 **\*N** 为支持 英文逗号隔开多个

| 参数           | 说明                                     |
| ------------ | -------------------------------------- |
| type \*      | NPC插件 **A**(Adyeshach) **C**(Citizens) |
| id **\***    | NPC-ID                                 |
| operation \* | spawn(生成)/delete(删除)                   |
| location     | 生成位置\[X,Y,Z]                           |

## 脚本类型

**all** 代表所有的脚本类型都支持

| 类型      | 说明    |
| ------- | ----- |
| dungeon | 由地牢执行 |

## 示例

```yaml
$anpc{type=a;id=test;operation=spawn;location=X,Y,Z} @dungeon
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ersha.gitbook.io/dungeonplus/di-lao/untitled/jiao-ben-lie-biao/adyeshach.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
