> For the complete documentation index, see [llms.txt](https://docs.matrica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.matrica.io/guides/community-guide/verification/and-or-based-roles.md).

# AND/OR BASED ROLES

Setting up multiple rules for a single role allows for in depth Token logic to be applied to your Discord roles. After setting up your first rule, adding another will prompt the use of a “Logic Operator”

**“AND”**

* Setting up roles using the “AND” logic operator allows you to stack rules, so that all criteria must be met in order to be assigned the role

Example:&#x20;

At least 1 NFT from “x collection”

“AND” At least 1,000 "y Tokens"<br>

**“OR”**

* Setting up roles using the “OR” logic operator allows you to set multiple rules for a single role, so that any criteria can be met in order to be assigned the role

Example:&#x20;

At least 1 NFT from “x collection” with attribute “x”

“OR” At least 1 NFT from “y collection” with attribute “y”

<figure><img src="/files/1W9zoqHUt8dLokaLZ0Sq" alt=""><figcaption></figcaption></figure>
