> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/conditions/chance-condition.md).

# Chance Condition

<figure><img src="/files/egT29npNkT0BxjIN1etZ" alt=""><figcaption></figcaption></figure>

This condition sets a percentage chance for actions to be taken. You cannot exceed 100%. The remainder of the blocks percentages are gathered in the else block.

## Percent Chance

This field is where you enter the percentage of how likely the action will be occurring. This field only accepts integers as values.

{% hint style="info" %}
Click the Add Condition button to add the block to your builder.
{% endhint %}

<figure><img src="/files/MKmz3rCKVjxESXK1Z25Z" alt=""><figcaption></figcaption></figure>

Here is an example layout of this condition:

<figure><img src="/files/Xi9W3cyXFtcxvtF3pnUx" alt=""><figcaption></figcaption></figure>
