# /alert

## Syntax

**/alert \[ add | remove ] # \[pc|npc|corpse|any] \[radius #] \[range** ***lowerlevel upperlevel*****] "spawnname" \[clear|list #]**

## Description

Used to manipulate alert lists which "watch" for spawns.

## Examples

|                                               |                                                                                        |
| --------------------------------------------- | -------------------------------------------------------------------------------------- |
| **/alert add 1 "spawnname"**                  | Adds spawn name to alert list 1                                                        |
| **/alert clear 1**                            | Clears all members from alert list 1                                                   |
| **/alert list 1**                             | Lists all members of alert list 1                                                      |
| **/alert add 1 npc radius 300 "spawnname"**   | Sets alert(1) to TRUE if "spawnname" is within radius of 300 from your location        |
| **/alert add 2 npc range 30 200 "spawnname"** | Sets alert(2) to TRUE if any "spawnname" are within 30 to 200 range from your location |
| **/alert remove 1 id spawnID**                | Removes the entry in alert list 1 for spawnID                                          |

## See Also

* [TLO:Alert](/macroquest/data-types-and-top-level-objects/top-level-objects/tlo-alert.md)
* [Spawn Search](/macroquest/general-information/spawn-search.md)


---

# 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://macroquest.gitbook.io/macroquest/commands/slash-commands/alert.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.
