# 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="../../fundamentals/gui-settings/edit-menu/customize-block-commands" %}
[customize-block-commands](https://wiki.hmmbo.com/fundamentals/gui-settings/edit-menu/customize-block-commands)
{% endcontent-ref %}
