> For the complete documentation index, see [llms.txt](https://mythicalbot.gitbook.io/arklynn-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicalbot.gitbook.io/arklynn-docs/resources/legacy-scripting/levelup-message.md).

# Levelup Message

***

### Legacy Command

Use the following slash command to set a level‑up message:

```
/setup_levelup_message message:
```

#### Parameters

<table data-header-hidden><thead><tr><th></th><th></th><th width="339"></th></tr></thead><tbody><tr><td>Parameter</td><td>Description</td><td>Example</td></tr><tr><td><code>message</code></td><td>The text that will be sent when a user levels up. You can use variables.</td><td><code>{user} leveled up to Level {level}!!</code></td></tr></tbody></table>

> **Note:** The exact syntax may vary depending on your bot version. The example shows `message:` – the double colon might indicate separate fields. If you're unsure, check your bot's help command or dashboard.

***

### Available Variables (Legacy)

In the legacy level‑up message, you can use these placeholders:

| Variable  | Description           |
| --------- | --------------------- |
| `{user}`  | User mention          |
| `{level}` | The new level reached |

***

### Example

To set a level‑up message that says:

> Nextm leveled up to Level 5!!

Use:

```
/setup_levelup_message message: {user} leveled up to Level {level}!!
```

***

### Important Notes

* The legacy system **does not support embeds or buttons** – only plain text messages.
* It is recommended to migrate to the new **Scripts** system (under Announcements → [Levelup Message](/arklynn-docs/resources/scripting/levelup-message.md)) for richer formatting, embeds, and buttons.
* Legacy commands may be deprecated in future updates.


---

# 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://mythicalbot.gitbook.io/arklynn-docs/resources/legacy-scripting/levelup-message.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.
