# Macro Tips

<details>

<summary>How can I make the whole macro loop infinitely?</summary>

You can control the whole macro's looping behaviour by selecting the Settings menu in the macro, and then switching between options in the Loop section:

![](/files/jdUeaZKRmh6utu2DggqD)

</details>

<details>

<summary>How do I make a <strong>macro's section</strong> repeat it self/loop?</summary>

You can create infinite loops by creating a circle with macro component outputs:

![](/files/DtkVxo7AWFM43pn4sbcE)

If you do not need an infinite loop, you can use the Repeat component instead, on which you can specify how many times it should go to the "Loop" output, before goint to the "Finished" output:

![Sample macro that will repeat one chat message 3 times, and will send another chat message after it is done repeating previous messages.](/files/YIdlD3iGAY6dLy5yDE0A)

</details>

<details>

<summary>You can reset macro component output's, by right clicking it, and then clicking "Remove all outgoing connections".</summary>

![](/files/LYh9AhqZAEfMAoko2SK3)

</details>

<details>

<summary>Hold the Shift key while selecting components, to select multiple components at the same time.</summary>

This will allow you to move, delete, etc. all of the selected components at the same time:![](/files/XSAhuEHCH5SzDZhsTwTI)

</details>

#### Discord

<details>

<summary>How to get a Discord Webhook Url?</summary>

![](/files/nQsw6UpEtZYL8mdZZnty)

Or read text tutorial <https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks>

</details>

<details>

<summary>How to mention people in Discord Webhooks?</summary>

To mention users, use the following format:\ <mark style="color:blue;"><@user\_id></mark> (e.g.: "Hello <mark style="color:blue;"><@739441278588026891></mark>")\
\
To mention roles, use the following format:\ <mark style="color:blue;"><@\&role\_id></mark> (e.g.: "Group <mark style="color:blue;"><@&1269438860518096916></mark>, please notice this!")

*<mark style="color:orange;">Currently discord webhooks that mention users in embedded fields do not produce ping notifications! This will be updated once notifications are supported fully.</mark>*

</details>

#### Advanced

<details>

<summary>Where do I find the "Plugin Id"/"Macro Id"?</summary>

![](/files/4ZYdQ1AHxLt7Pmbpc8qP)

You can find the Plugin Id, and Macro Id, by expanding the Plugin/Macro instance, clicking the three dots next to the Resume/Pause button, and clicking the Copy Id button that pops up.\
The Plugin or Macro Id will be copied to your clipboard.

</details>


---

# 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://help.minecraftbot.com/macros/macro-introduction/macro-tips.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.
