$textSplit
$textSplit
will split a message into parts based on a specify separator, allowing you to access each part individually by its position.
Usage
$textSplit[text;sep?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Query of arguments. | true |
sep? | string | Separator for the text arguments. | false |
Example(s)
This will return hello, how are you
:
1client.command({2 name: "textSplit",3 code: `4 $splitText[1] $splitText[3] $splitText[6] $splitText[7]5 $textSplit[hello,__blurr__how__ayaka__leref__are__you;__]6 `7});