> For the complete documentation index, see [llms.txt](https://wiki.stmod.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.stmod.net/private-servers/chatting.md).

# Chatting

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/fhTgAqMeBpp4iHCeKB21" alt=""><figcaption></figcaption></figure>

The **Chatting** tab lets you automatically send repeated messages in the game chat. Configure the following options:

* **Text field** — Type the message you want to spam
* **Delete** — Clear the current text from the input field
* **Delay** — Set how frequently (in seconds) the message is sent
* **Color** — Choose the color your message will appear in
* **Type** — Select the chat channel to send your message through:
  * **Chat** — Standard local chat
  * **Shout** — Server-wide shout channel
  * **PM** — Private message
  * **Merchant** — Merchant chat *(not available on all servers)*

***

**`Chatting tab → Auto-Reply`**

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/h4SZjgZD66QmalN2JMka" alt=""><figcaption></figcaption></figure>

The **Auto-Reply** sub-tab allows you to set up an automated reply bot that responds to incoming messages based on keyword rules.

* **If word / phrase found** — Enter the keyword or phrase you want the bot to watch for in incoming messages
* **Reply with** — Enter the message the bot should send when a match is found

  **Example:** If you add the rule `hello → hi`, the bot will behave like this:

  ```
  PlayerX: hello
  STMod: hi
  ```
* **Enable auto-reply bot** — Toggle this on to activate the reply bot
* **Reply back in X seconds** — Set how long the bot waits before sending its reply to the sender
* **Current replies list** — Displays all of your active keyword-to-reply rules
* **Reply with '?' if unknown message** — If the incoming message does not match any rule in your reply list, the bot replies with `??`

  **Example** — given the reply list:

  ```
  abc → bca
  hey → hi
  ```

  ```
  PlayerX: hi there
  STMod: ??
  ```
* **Repeat previous message if unknown message** — If the incoming message does not match any rule, the bot echoes back the last message it received instead

  **Example** — given the same reply list:

  ```
  PlayerX: hi there
  STMod: hi there
  ```
