Command:/alert

From the wonderful RedGuides Wiki

This command is added by MacroQuest

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /alert { add | remove ] #(alert list) [pc|npc|corpse|any] [radius #] [range <lower> <upper>] [spawnname | id #] [clear <#(list)> }
Description Used to manipulate alert lists which "watch" for spawns.

Options

Option Description
[ add | remove ] Adds or Removes spawn from alert list
#(alert list) The alert list number
pc|npc|corpse|any The spawn type to watch for
radius <#> The radius to search
range <lower> <upper> a minimum and maximum distance to search
spawnname | id #(spawnID) The name of the spawn to search, or the id of the spawn
clear [#(list)] Clear an alert list

Examples

/alert add 1 "spawnname" Adds spawnname 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