> For the complete documentation index, see [llms.txt](https://docs.ragnasync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ragnasync.com/ragnascript.md).

# RagnaScript

- [Overview](https://docs.ragnasync.com/ragnascript/scripts.md): How RagnaScript works and the npc\_message action
- [NPC Examples](https://docs.ragnasync.com/ragnascript/custom-messages.md): Ready-to-use npc\_message scripts for Discord announcements
- [Build with AI](https://docs.ragnasync.com/ragnascript/build-ragnascripts-with-ai.md): Use Claude, ChatGPT, or any AI assistant to write npc\_message scripts for you
- [Message Routing](https://docs.ragnasync.com/ragnascript/message-routing.md): Control where and how each event type sends messages to Discord
- [Message Templates](https://docs.ragnasync.com/ragnascript/message-templates.md): Send pre-formatted messages from your game server to Discord using the src\_template placeholder
- [Discord Authentication](https://docs.ragnasync.com/ragnascript/discord-auth.md): Link player accounts to Discord users for enhanced features
