> For the complete documentation index, see [llms.txt](https://bloodmoon.pseudonova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bloodmoon.pseudonova.com/events/speak-event.md).

# Speak Event

## Required arguments

| Order | Type    | Argument                 |
| ----- | ------- | ------------------------ |
| 1     | text    | the text it needs to use |
| 2     | decimal | percentage of occurrence |

## What it does

Whenever the event is triggered, all players nearby the mob will receive a specified message with the prefix of the mob. This will result as in the custom mobs being talking to the players.

## Example usage

```yaml
actions:
  speak:
    events:
      - speak &4BOOOOO 100
    commands: []
```
