Home Commands Terms & Privacy Add to Discord

TagScript Documentation

Create powerful, dynamic custom commands with Axion's TagScript engine

What is TagScript?

TagScript is a simple, powerful scripting language that allows you to create dynamic custom commands for your Discord server. With TagScript, you can use variables, conditional logic, math operations, and much more to create interactive and personalized bot responses.

Tags are custom commands that you create using TagScript syntax. They can range from simple text responses to complex scripts with logic, random selections, embeds, and Discord API integrations.

Quick Example

{if({args}==):Hello {user(name)}!|You said: {args}}

This tag greets the user if no arguments are provided, otherwise it echoes back what they said.

🧱

Blocks

Learn about all available TagScript blocks including math, random, control flow, and more.

📦

Variables

Access Discord data like users, channels, servers, and arguments in your tags.

⚙️

Parsing

Advanced features like embeds, cooldowns, permissions, and command overrides.

💡

Examples

Real-world examples and templates to jumpstart your custom commands.

🔧

Configuration

Learn how to set up and configure the Tags cog in your server.