# action
## Syntax:
/action **{pattern} {command} {group}**
## Use Case:
Creates a trigger that executes a command when specific text arrives from the server.
## Arguments:
- **{pattern}**: The text to look for.
- **{command}**: The command to run.
- **{group}**  : (Optional) The group name.
## Examples:
1. **/action {You are hungry.} {eat bread}**
2. **/action {^$target is dead!} {get all from corpse} {combat}**
## See Also:
actions, unaction, group, variable