> For the complete documentation index, see [llms.txt](https://wiki.hmmbo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.hmmbo.com/overview/faq/what-is-command-chaining.md).

# 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 %}
