> 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.md).

# Legacy Scripting

**Legacy** refers to Arklynn's **older commands and systems** that were used before the introduction of the new **Scripts** system.\
They are still functional but are gradually being replaced by the more modern, flexible scripts. For new servers or fresh installations, we recommend using the current **Scripts** (under Announcements) instead.

### What Belongs to Legacy?

* **Legacy Announcements** – Creating embeds using the `;ann` command (no buttons, no variables).
* **Legacy Levelup Message** – Simple text message on level up using `{user}` and `{level}`.

### Why Does Legacy Exist?

Some servers have already set up their automations using these older commands and may not want to switch immediately. To avoid breaking existing setups, legacy features remain available for now.

### Should I Still Use Legacy?

**Only if you already have old commands in use.** For all new announcements and level-up messages, the **Scripts** system is the better choice: it supports embeds with fields, buttons, dynamic variables (`{user}`, `{guild.name}`, etc.), and extensive formatting options.

***

{% hint style="info" %}
*Note: Legacy features may be removed in future versions. Migration to current scripts is recommended.*
{% endhint %}


---

# 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.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.
