Command:/noparse
This command is added by MacroQuest
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 | /noparse <command> |
---|---|
Description | Prevents any MQ2Data from being parsed when used in command. |
Options
Examples
- Here the literal string "${stuff}" is added to the ini file, as opposed to the current value of ${stuff}.
/noparse /ini stuff.ini MySection MyVal ${stuff}
- Here is another example. First we declare a variable
/declare NotDisplayed string outer DISPLAYED
- Using echo by itself, the MQ2Data is parsed and displayed in the chatwnd:
/echo ${NotDisplayed}
[MQ2] DISPLAYED
- Using /noparse, we do not parse the MQ2Data, and the literal string is displayed in the chatwnd
/noparse /echo ${NotDisplayed}
[MQ2] ${NotDisplayed}