# MQ2Vendors

## Description

**MQ2Vendors** is a plugin that will check a merchant's item list when you open that merchant, and will then notify you if the merchant has any items that you are looking for.

* If the vendor has an item you are looking for, you will be notified in the MQ chat window, and the merchant's name

  will be enclosed in >>>> \\<\\<\\<\\< to highlight you to it.
* **Note:** You will not be notified if the vendor item is a default item on that vendor (ie. if it does not have a

  quantity in the merchant window).

MQ2Vendors was created by Ceghkmv and can be found [here](https://macroquest2.com/phpBB3/viewtopic.php?p=109662#109662).

## Commands

* **/vendor add|remove \\<*****ItemID|ItemName|ItemLink*****>**

Add/remove the relevant name/ID to/from the watch list. **Note:** Names are case sensitive! You can also use EQ links instead of the name, and this is recommended, to ensure you get the correct capitalization.

* **/vendor list**

List all items in the watch list.

* **/vendor savevendors|nosavevendors**

This enables or disables saving of vendors' default item list to a local INI file.

## Top-Level Objects

* [*string*](broken://pages/-Me4I982Obm83SKMG0Zr) **${Vendor.Version}**

  Outputs the version number.
* [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md) **${Vendor.HasItems}**

  Returns TRUE if the merchant has items you are looking for.

## See Also

* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [Plugins](broken://pages/-Me4I94WGlOtA0pQ_0oB)


---

# 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/plugins/community-plugins/mq2vendors.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.
