# What is Command Chaining?

To execute a group of commands together with a chance-based trigger, follow this format:

```
[Console / Player] ; cmd1 > [Console / Player] ; cmd2 ; chance(0.1-1.0)
```

Here, `cmd1` and `cmd2` are your commands, and `chance(0.1-1.0)` determines the likelihood of execution.\
\
More Info

{% content-ref url="/pages/l5B18MU2LZ4AqXkdUXoy" %}
[Customize Block Commands](/fundamentals/gui-help/edit-menu/customize-block-commands.md)
{% endcontent-ref %}


---

# 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://wiki.hmmbo.com/overview/faq/what-is-command-chaining.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.
