# DataType:group

Contains details about your group

## Members

| **Type**                                                                                         | **Member**                      | **Description**                                                                                           |
| ------------------------------------------------------------------------------------------------ | ------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)               | **AnyoneMissing**               | TRUE if someone is missing in group, offline, in other zone or simply just dead                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **CasterMercCount**             | count of how many Caster DPS mercenaries are in your group                                                |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md)\_\_       | **Cleric**                      | Will now return the cleric as a spawntype if a cleric is in the group (not a mercenary but a REAL cleric) |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **GroupSize**                   | Number of members in your group, including yourself                                                       |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **HealerMercCount**             | count of how many Healer mercenaries are in your group                                                    |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **Injured\[XX]**                | Will return the numbers of people in the group that has a hp percent lower than 90                        |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **Leader**                      | Data on the leader of the group                                                                           |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **MainAssist**                  | Data on the main assist of the group                                                                      |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **MainTank**                    | Data on the main tank of the group                                                                        |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **MarkNpc**                     | Data on the group member who can mark NPCs, if one is assigned                                            |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **MasterLooter**                | Data on the Master Looter of the group, if one is assigned                                                |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **MeleeMercCount**              | count of how many Melee DPS mercenaries are in your group                                                 |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **Member\[**#**]**              | Accesses #th member of your group; 0 is you, 1 is the first person in the group list, etc.                |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **Member\[name].Index**         | Which number in the group the PC with *name* is                                                           |
| [*spawn*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md)             | **Member\[**#/name\*\*].Pet\*\* | Returns the group members' pet name                                                                       |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **Members**                     | Total number of group members, excluding yourself                                                         |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **MercenaryCount**              | Count of how many Mercenaries are in the group                                                            |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md)\_\_       | **MouseOver**                   | Returns the name of the group member your mouse is hovering over                                          |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)               | **Offline**                     | will return a TRUE if offline, and FALSE if online                                                        |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)               | **OtherZone**                   | will return a Bool TRUE if online but in another zone and FALSE if online and in same zone as you.        |
| [*groupmember*](/macroquest/data-types-and-top-level-objects/data-types/datatype-groupmember.md) | **Puller**                      | Data on the puller of the group                                                                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)                 | **TankMercCount**               | count of how many Tank mercenaries are in your group                                                      |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md)\_\_       | **To String**                   | Same as **Members**                                                                                       |

### Usage

`Usage1: /echo Im hovering my mouse over ${Group.MouseOver.Name} which has ths spawnid: ${Group.MouseOver.ID}`\
`Usage2: /bct ${Group.MouseOver.Name} hi there I dont want to change my target just to tell u: please heal ${Me.Mame}`\
`Usage3: /bct eqmule //casting "Complete Heal" -targetid|${Group.MouseOver.ID}`\
`Usage4: /bct ${Group.MouseOver.CleanName} //setprio 2`

Final Note: YOU CAN hover over your own name in the player window where u see your hp and it will return you.

In macro usage:

/if (${Group.Member\[Julio].Index}) /smack Julio


---

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