Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 3.31 KB

README.md

File metadata and controls

63 lines (39 loc) · 3.31 KB

bTagScript Playground

bTagScript Playground

Welcome to the bTagScript Playground! This is the ultimate online tool for testing and experimenting with TagScript before implementing it in your projects. Avoid the hassle of creating and running tags repeatedly by using our user-friendly platform designed for seamless TagScript testing.

What is TagScript?

TagScript is a templating language primarily used in Discord bots to create dynamic responses based on user input and conditions. It allows you to define complex logic and handle various scenarios effortlessly within your bot's commands.

Features

  • Real-Time Testing: Instantly see the results of your TagScript as you type. No more waiting to run tags on your bot.
  • Comprehensive Toolset: Access a wide range of TagScript functions and operators to simulate different conditions and responses.
  • User-Friendly Interface: An intuitive and easy-to-navigate interface that makes TagScript testing simple and efficient.
  • Save and Load Scripts: Save your scripts for future use and load them whenever needed, ensuring you don't lose your work.
  • Syntax Highlighting: Clearly see different elements of your TagScript with our syntax highlighting feature, making it easier to debug and understand your code.

Getting Started

Accessing the Playground

You can start using the bTagScript Playground by visiting the following link: bTagScript Playground

Using the Playground

  1. Input Area: Write your TagScript code in the input area. This is where you define the logic and structure of your tags.
  2. Process Script: Click the "Process" button to execute your TagScript and see the output in real time.
  3. Output Area: View the results of your TagScript in the output area. This section displays the responses generated by your script based on the input and conditions you defined.
  4. Import Script: Use the "Import" button to load previously saved TagScript code from Carl Bot's tag system into the input area.

Example Usage

Here’s a simple example to demonstrate how to use the bTagScript Playground:

  1. Write a Script:

    {if(Hello=={args}):Hi there!|I don't understand.}
    

    This script checks if the user input is "Hello" and responds with "Hi there!". Otherwise, it responds with "I don't understand."

  2. Run the Script: Click "Run Script" to see the output.

    • Input: Hello

    • Output: Hi there!

    • Input: Goodbye

    • Output: I don't understand.

Contributing

We welcome contributions from the community to improve the bTagScript Playground. If you have suggestions, bug reports, or want to contribute code, please visit our GitHub repository: bTagScript Playground GitHub

Support

If you encounter any issues or have questions about using the bTagScript Playground, feel free to reach out for support. You can open an issue on our GitHub repository.

License

The bTagScript Playground is open-source and available under the MIT License. Feel free to use, modify, and distribute it as per the terms of the license.


Thank you for using the bTagScript Playground! We hope it makes your TagScript development process easier and more efficient. Happy coding!