Skip to content

$splitText

$splitText will return a value of $textSplit depending on the given index.

Usage

$splitText[index]

Parameters

FieldTypeDescriptionRequired
indexnumberIndex of $textSplit content.true

Example(s)

This will return aoi.js as it’s the second argument of $textSplit:

1
client.command({
2
name: "splitText",
3
code: `
4
$splitText[2]
5
$textSplit[@aoijs/aoi.db//aoi.js;//]
6
`
7
});