Functionalities
Other
$argsFrom
Returns the arguments between the content defined from the 1st field to the 2nd field. If the 1st field is defined and 2nd field is not defined, bot will return everything after the 1st field.

FUNCTION USAGE

  • $argsFrom[start;end;separator]

Properties:

start - The starting point. Define as a number starting at 1 being your first argument. end - The ending point. Define as a number being the last argument to return in the string. separator - Each argument will be separated with the content in this field. \n and spaces can be used to separate.

Input: --a im just testing and that is all im doing .

Output: testing and that is all

1
bot.Command({
2
name: "a",
3
code: `
4
$argsFrom[3;7; ]
5
`
6
})
Copied!
Last modified 9mo ago
Copy link
Contents
Properties: