> 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
  ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.stmod.net/private-servers/chatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
