# DataType:groupmember

Contains data on a specific group member

## Members

this type inherits members from [*spawn* ](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md)if the member is in the current zone.

| **Type**                                                                                   | **Member**     | **Description**                                                                                     |
| ------------------------------------------------------------------------------------------ | -------------- | --------------------------------------------------------------------------------------------------- |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)           | **Index**      | Which number in the group the member is                                                             |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **Leader**     | TRUE if the member is the group's leader, FALSE otherwise                                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)           | **Level**      | The member's level                                                                                  |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **MainAssist** | TRUE if the member is designated as the group's Main Assist, FALSE otherwise                        |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **MainTank**   | TRUE if the member is designated as the group's Main Tank, FALSE otherwise                          |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **Mercenary**  | TRUE if the member is a mercenary, FALSE otherwise                                                  |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md)\_\_ | **Name**       | The name of the group member. This works even if they are not in the same zone as you.              |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **Offline**    | TRUE if the member is offline and FALSE if online                                                   |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **OtherZone**  | TRUE if the member is online but in another zone and FALSE if online and in same zone as you.       |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **Present**    | TRUE if the member is online and in same zone and FALSE if online and not in same zone as you.      |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)         | **Puller**     | TRUE if the member is designated as the group's Puller, FALSE otherwise                             |
| [*spawn*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md)       | **Spawn**      | Accesses the group member's spawn. Not all members will have a spawn (if they are out of the zone). |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md)\_\_ | **To String**  | Same as **Name**                                                                                    |

## Examples

`/echo ${Group.Member[0].Leader}`

Echo TRUE if you are Group Leader.

`/echo ${Group.Member[3].Puller}`

Echo TRUE if Group Member 3 is marked as Role Puller


---

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