# DataType:everquest

Data types related to the current EverQuest session.

## Members

| **Type**                                                                               | **Member**                           | **Description**                                                                                                                                     |
| -------------------------------------------------------------------------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **Background**                       | Returns TRUE if EverQuest is in Background                                                                                                          |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **BuildDate**                        | Date that MQ2Main.dll was built                                                                                                                     |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **CharSelectList**                   | Currently returns the zone ID the character is currently in                                                                                         |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **ChatChannel\[***channel-name***]** | Returns TRUE if *channel-name* is joined                                                                                                            |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **ChatChannel\[**#**]**              | Returns the name of chat channel #                                                                                                                  |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ChatChannels**                     | Returns the number of channels currently joined                                                                                                     |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **CurrentUI**                        | return a string representing the currently loaded UI skin                                                                                           |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Error**                            | Last normal error message                                                                                                                           |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **Foreground**                       | Returns TRUE if EverQuest is in Foreground                                                                                                          |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **GameState**                        | CHARSELECT INGAME UNKNOWN                                                                                                                           |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **IsDefaultUILoaded**                | returns a bool true or false if the "Default" UI skin is the one loaded                                                                             |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **LastCommand**                      | Last command entered                                                                                                                                |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **LastMouseOver.Name**               | Returns the name of the last window you moused over                                                                                                 |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **LastTell**                         | Name of last person to send you a tell                                                                                                              |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **LayoutCopyInProgress**             | Returns TRUE if a layoutcopy is in progress and FALSE if not.                                                                                       |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **LClickedObject**                   | Returns TRUE if an object has been left clicked                                                                                                     |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **LoginName**                        | Your station name                                                                                                                                   |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **MouseX**                           | Mouse's X location                                                                                                                                  |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **MouseY**                           | Mouse's Y location                                                                                                                                  |
| [*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)       | **PID**                              | Your current (Process ID)                                                                                                                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **Ping**                             | Your current ping                                                                                                                                   |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **Running**                          | Running time of current MQ2 session, in milliseconds                                                                                                |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ScreenMode**                       | Returns the screenmode as an integer, 2 is Normal and 3 is No Windows                                                                               |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Server**                           | Full name of your server                                                                                                                            |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **SyntaxError**                      | Last syntax error message                                                                                                                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **PPriority**                        | Returns the processor priority that Everquest is set to. Where 1 is Low 2 is below Normal 3 is Normal 4 is Above Normal 5 is High and 6 is RealTime |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportX**                        | EverQuest viewport upper left (X) position                                                                                                          |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportXCenter**                  | EverQuest viewport center (X) position                                                                                                              |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportXMax**                     | EverQuest viewport lower right (X) position                                                                                                         |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportY**                        | EverQuest viewport upper left (Y) position                                                                                                          |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportYCenter**                  | EverQuest viewport center (Y) position                                                                                                              |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ViewportYMax**                     | EverQuest viewport lower right (Y) position                                                                                                         |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **To String**                        | None                                                                                                                                                |

## Example

`/echo ${EverQuest.Server}`


---

# 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-everquest.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.
