Command:/echo

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 /echo <text>
Description Echos the specified text (or variables) to the MQ chat window.

Options

Examples

/echo \am This is a \attest\ax \n\agAll done, let's show a backslash: \ar\\

Results in the following:

[MQ2] This is a test
All done, let's show a red backslash: \

Default usage

/echo My current health percent is ${Me.PctHPs}

[MQ2] My current health percent is 100

Color Codes

  • \ab = black
  • \a-b = black (dark)
  • \ag = green
  • \a-g = green (dark)
  • \am = magenta
  • \a-m = magenta (dark)
  • \ao = orange
  • \a-o = orange (dark)
  • \ap = purple
  • \a-p = purple (dark)
  • \ar = red
  • \a-r = red (dark)
  • \at = cyan
  • \a-t = cyan (dark)
  • \au = blue
  • \a-u = blue (dark)
  • \aw = white
  • \a-w = white (dark)
  • \ay = yellow
  • \a-y = yellow (dark)
  • \ax = previous color (if no previous \a? this would be the default mq2 color)

Special Codes

  • \n = newline
  • \d = down? same as newline

See also