# DataType:macroquest

Data types related to the current MacroQuest2 session.  These also inherit from the [EverQuest Type](/macroquest/data-types-and-top-level-objects/data-types/datatype-everquest.md).

## Members

| **Type**                                                                               | **Member**        | **Description**                                                                                                                                   |
| -------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **Build**         | The build number for MQ2Main.dll                                                                                                                  |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **BuildDate**     | Date that MQ2Main.dll was built                                                                                                                   |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Error**         | Last normal error message                                                                                                                         |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **InternalName**  | The internal name from MQ2Main.dll ("Next")                                                                                                       |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **MQ2DataError**  | Last MQ2Data parsing error message                                                                                                                |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **Parser**        | Which parser engine is currently active                                                                                                           |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Path\[Option]** | Directory that Macroquest.exe launched from.  When passed root/config/crashdumps/logs/mqini/macros/plugins/resources, returns the respective path |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **SyntaxError**   | Last syntax error message                                                                                                                         |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Version**       | The full version of MQ2Main.dll                                                                                                                   |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **To String**     | None                                                                                                                                              |

## Example

`/echo ${MacroQuest.Path[config]}`


---

# 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/data-types-and-top-level-objects/data-types/datatype-macroquest.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.
