$arraySplice
$arraySplice
will splice elements from the array.
Usage
$arraySplice[name;index;amount;...elements]
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Array name. | true |
index | number | Index of the element. | true |
amount | number | Amount to splice. | true |
…elements | string | Elements to splice. | true |
Example(s)
1client.command({2 name: "array-splice",3 code: `4 $arraySplice[array;2;3]5 $createArray[array;aoi.js;akarui;documents;bot]6 `7});