{defaultValue}
+
+
+
]
+...` to format command examples.
+* **`link`:** An array of links to relevant resources, documentation, or examples.
+* **`custommd`:** (Optional) A string containing custom markdown to further describe or provide instructions for the command.
+
+#### Metadata Example
+
+Here's an example of metadata for a `!balance` command:
+
+```
+/* Metadata :
+{{{
+ "version": "1",
+ "tags": ["economy", "balance", "money"],
+ "author": "User-0000",
+ "usecase": "checks the balance of the user",
+ "category": "economy",
+ "preview": "https://media.discordapp.net/attachments/845279377733320745/928401183809364008/unknown.png",
+ "description": ["Run !bal to show your balance"] ,
+ "link": ["https://media.discordapp.net/attachments/845279377733320745/928401183809364008/unknown.png"],
+ "custommd": ""
+}}}
+*/
+The !bal command code
+```
+
+**Note:** In this example, the `link` and `preview` are the same, as it's a simple command.
+
+## `$onTemplate` Function
+
+The `$onTemplate` function creates a user interface (UI) for interacting with commands. This UI allows users to input values and customize the command before execution. It is especially useful for commands that require user-specific information.
+
+**Important:** A UI is only generated if the command has associated metadata.
+
+### Usage
+
+```cc
+$onTemplate[type;field;title;help;default value]
+```
+
+**Parameters:**
+
+* **`type`:** The type of input field to create.
+* **`field`:** The style/appearance of the input field.
+* **`title`:** The title displayed above the input field in the UI.
+* **`help`:** A helpful description displayed below the input field.
+* **`default value`:** The default value for the input field.
+
+**Valid Types:**
+
+* `category`: Creates a dropdown list of categories from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
+* `number`: Creates a number input field.
+* `channel`: Creates a dropdown list of channels from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
+* `role`: Creates a dropdown list of roles from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
+* `text`: Creates a single-line text input field.
+* `boolean`: Creates a checkbox.
+* `id`: Creates a text input field, typically used for IDs.
+* `runonlyin`: This modifies the cloned command run only in to the selected channel(s)
+
+**Valid Fields:**
+
+* `input`: Creates a standard text input field.
+* `inputarray`: Creates a text input field with the placeholder "Split by ,". The input will be treated as an array, split by commas.
+* `dropdown`: Creates a dropdown list with values from the specified `type`. If the type is `text` or `number`, the values are taken from the `default value` parameter, separated by commas.
+* `dropdownarray`: Creates a dropdown list where multiple options can be selected. Values are determined as with the standard `dropdown` field.
+* `checkbox`: Creates a checkbox.
+
+**Title & Help:**
+
+* **`title`:** The label for the input field.
+* **`help`:** A descriptive text providing guidance on what to enter in the input field.
+
+**Default Value:**
+
+* **`default value`:** The value that's pre-filled or pre-selected in the input field.
+
+ ] [ ] [ ] [ ] [ ]
+2048
+{{ props.default }}...` to format command examples.
-* **`link`:** An array of links to relevant resources, documentation, or examples.
-* **`custommd`:** (Optional) A string containing custom markdown to further describe or provide instructions for the command.
-
-#### Metadata Example
-
-Here's an example of metadata for a `!balance` command:
-
-```
-/* Metadata :
-{{{
- "version": "1",
- "tags": ["economy", "balance", "money"],
- "author": "User-0000",
- "usecase": "checks the balance of the user",
- "category": "economy",
- "preview": "https://media.discordapp.net/attachments/845279377733320745/928401183809364008/unknown.png",
- "description": ["Run !bal to show your balance"] ,
- "link": ["https://media.discordapp.net/attachments/845279377733320745/928401183809364008/unknown.png"],
- "custommd": ""
-}}}
-*/
-The !bal command code
-```
-
-**Note:** In this example, the `link` and `preview` are the same, as it's a simple command.
-
-## `$onTemplate` Function
-
-The `$onTemplate` function creates a user interface (UI) for interacting with commands. This UI allows users to input values and customize the command before execution. It is especially useful for commands that require user-specific information.
-
-**Important:** A UI is only generated if the command has associated metadata.
-
-### Usage
-
-```php
-$onTemplate[type;field;title;help;default value]
-```
-
-**Parameters:**
-
-* **`type`:** The type of input field to create.
-* **`field`:** The style/appearance of the input field.
-* **`title`:** The title displayed above the input field in the UI.
-* **`help`:** A helpful description displayed below the input field.
-* **`default value`:** The default value for the input field.
-
-**Valid Types:**
-
-* `category`: Creates a dropdown list of categories from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
-* `number`: Creates a number input field.
-* `channel`: Creates a dropdown list of channels from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
-* `role`: Creates a dropdown list of roles from the server. `dropdownarray` or `dropdown` should be used for the `field` parameter.
-* `text`: Creates a single-line text input field.
-* `boolean`: Creates a checkbox.
-* `id`: Creates a text input field, typically used for IDs.
-* `runonlyin`: This modifies the cloned command run only in to the selected channel(s)
-
-**Valid Fields:**
-
-* `input`: Creates a standard text input field.
-* `inputarray`: Creates a text input field with the placeholder "Split by ,". The input will be treated as an array, split by commas.
-* `dropdown`: Creates a dropdown list with values from the specified `type`. If the type is `text` or `number`, the values are taken from the `default value` parameter, separated by commas.
-* `dropdownarray`: Creates a dropdown list where multiple options can be selected. Values are determined as with the standard `dropdown` field.
-* `checkbox`: Creates a checkbox.
-
-**Title & Help:**
-
-* **`title`:** The label for the input field.
-* **`help`:** A descriptive text providing guidance on what to enter in the input field.
-
-**Default Value:**
-
-* **`default value`:** The value that's pre-filled or pre-selected in the input field.
-
-:::warning Escaping Special Characters
-You **cannot** use the characters `[` `]` and `;` directly within the `$onTemplate` function. They are unsupported by the parser.
-
-Use the following escape sequences instead:
-
-* `#RIGHT#` for `]`
-* `#LEFT#` for `[`
-* `#SEMI#` for `;`
-:::
-
-#### Example Ticket System
-
-**Ticket Code:**
-
-```php
-$let[categoryID;$onTemplate[category;dropdown;Ticket Category;Choose the category where the ticket should be created;$channelCategoryID]] // Put the category ID Here
-$if[$buttonID==openTicket]
- $cooldown[1m;<@$authorID> Please Wait %time% to create a new ticket]
- $newTicket[$userTag;
- {title:🎫 Ticket}
- {url:https://raspdevpy.gitbook.io}
- {description:You can change this message to yours}
- {footer:Press the blue link for the docs}
- {button:Close The ticket:red:❌:closeTicket}
- {color:RANDOM}
- ;$get[categoryID];no;Could not Create Ticket]
-$elseIf[$buttonID==closeTicket]
- $sendMessage[{title: This ticket will be closed in 10s} {color: #ff4a4a};no]
- $disableButton[$messageID;closeTicket]
- $wait[10s]
- $closeTicket[This channel is not a ticket!]
-$endelse
-```
-
-**Template Asking for Input:**
-
-
-
-**After Cloning:** `$let[categoryID;866251414232498197]`
-
-## Special Cases: Arrays
-
-`dropdownarray` and `inputarray` fields split their input by commas (`,`). To use these arrays in your custom commands, you need to *spread* them.
-
-**How to Spread Arrays:**
-
-```php
-$let[input;input,from,template]
-$giveRoles[$authorID;$spread[,;$input]]
-```
diff --git a/guide/Contribution_Info/function_template.md b/guide/Contribution_Info/function_template.md
deleted file mode 100644
index 72f5dc2a..00000000
--- a/guide/Contribution_Info/function_template.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Function Template
-
-```md
-# $FUNCTION
-
-
-#### Usage: `$FUNCTION NAME + PARAMETERS`
- ] [ ] [ ] [ ] [ ]
- 2048
-
-
-
]
- 2048
-