Skip to content

$textSplitMap

$textSplitMap will create a loop over all values that are stored within $textSplit.

Usage

$textSplitMap[awaited]

Parameters

FieldTypeDescriptionRequired
awaitedstringName of the awaited command.true

Example(s)

This will return the arguments within $textSplit and send all of them separately:

1
client.command({
2
name: "textSplitMap",
3
code: `
4
$textSplitMap[devs]
5
$textSplit[Ayaka,Leref,Ferel,Blurr;,]
6
`
7
});
8
9
client.awaitedCommand({
10
name: "devs",
11
code: `
12
$message[1]
13
`
14
});