# Macro Directives

## Definition

Macro directives are instructions to the macro engine that are not run during the macro. These directives will be run before the Main sub is run, and are traditionally located at the beginning of the macro file.

Click on the list below to see more in-depth descriptions.

* [bind](/macroquest/commands/macro-commands/macro-directives/macro-bind.md)
* [chat](/macroquest/commands/macro-commands/macro-directives/chat.md)
* [define](/macroquest/commands/macro-commands/macro-directives/define.md)
* [event](/macroquest/commands/macro-commands/macro-directives/event.md)
* [include](/macroquest/commands/macro-commands/macro-directives/include.md)
* [include\_optional](/macroquest/commands/macro-commands/macro-directives/include_optional.md)
* [turbo](/macroquest/commands/macro-commands/macro-directives/turbo.md)
* [warning](/macroquest/commands/macro-commands/macro-directives/warning.md)

## example

```
#warning

#include Ninjadvloot.inc
#include Spell_Routines.inc
#include Defense.inc

#turbo 80

#CHAT BC
#CHAT RAIDSAY
#CHAT GROUPSAY

#Event AddCombatSong    "[MQ2] AddCombatSong #1#"
#Event Experience       "#*#You gain party experience#*#"
#Event AddAlertCommon   "[MQ2] AddAlertCommon #1#"
#Event WornOff          "#*#Your #1# spell has worn off of #2#."
```


---

# 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/commands/macro-commands/macro-directives.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.
