Command:/caption

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 /caption list | type <value> | update <#> | MQCaptions [on|off]
Description Set custom captions (names & titles). You can also limit how many captions are updated to improve performance. The default setting for /caption update is 35.

Player1 through Player4 in MacroQuest.ini are directly related to which /shownames level you use.

  1. Player1 is linked to /shownames 1
  2. Player2 is linked to /shownames 2
  3. Player3 is linked to /shownames 3
  4. Player4 is linked to /shownames 4

Options

Option Description
list list custom captions
reload update captions from .ini
Player<#> Player1 - Player6
Pet|Merc|NPC|Corpse Other spawn types you may caption
Update nearest spawns will have their caption updated each pass.
MQCaptions [on|off] Turns captions on or off

Examples

Player1=${If[${NamingSpawn.Trader},Trader,]}${If[${NamingSpawn.Invis},(${NamingSpawn.DisplayName})

  • Use "\n" to add a new line when setting captions
  • To use the default (EQ settings) clear the specific setting(Player1-Player4) in the ini using:

/caption Player1

  • You can also configure Player1 - Player6 from the EQ client using:

/caption Player# configsettings

To set the number of nearest spawns for MQ2 to update the name of each pass to 20. (By default, this is 35.)

/caption update 20

When using MQCaption if no parameter is given, the default parameter is off

See also