# Make a rule that responds to a server event

Send a message or alert automatically when something happens on a server.

## Choose an event and a response

The events and responses depend on the server. If your workspace cannot make rules, the section shows why.

1. Open **Schedules** for the server. In **When something happens**, choose **Add a rule**.
2. Under **When**, pick an event, such as when the server finishes starting. Under **Then**, pick an available response and enter the message.
3. Read **What will happen**. Leave **Turn it on now** selected if the rule should start listening when you save, or clear it to keep the rule off. Choose **Save rule**.

## Read the result or pause the rule

Check **Latest result** on the rule. Use **What it did** in its menu to see earlier runs. Switch **On** off to pause it, or choose **Edit rule** where offered. If the host has not taken the change yet, wait for it to connect and check again.

A chat rule marked **Runs on the server's host** can still say its message after the host loses its RustSC connection. Alert and Discord responses need the RustSC connection.

- [Read server events and chat](https://rustsc.com/support/guides/server-events/index.html.md)

HTML version: https://rustsc.com/support/guides/make-a-server-event-rule/
