# TLO:FindItemBank

## Description

Find item in bank by partial name match. Using =name will find an exact match only.

Of note: The FindItemBank with ItemSlot REQUIRES that bank item containers be open to function correctly. Due to potential exploits the command will not work if the bank containers are closed. This is in contrast to FindItem functionality with character containers, where ItemSlot was designed to allow inventory management without opening containers.

## Forms

|                                                                                                                     |                                                 |
| ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [*item*](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md) **FindItemBank\[name]**          | Returns item in your bank by partial name match |
| [*item*](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md) **FindItemBank\[**=name\*\*]\*\* | Returns item in your bank by exact name match   |

## Access to Types

* [*item*](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md) **item**

## Examples

`/echo ${FindItemBank[=Swirling Shadows]}`

This is a simple example with little use, but If the item is found, the name of the item will be echoed

`/echo ${FindItemBank[=Swirling Shadows].ItemSlot}`

Will return Bank's item slot

## See Also

* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [item](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md)


---

# 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/top-level-objects/tlo-finditembank.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.
