Functionalities
Other
$numbersFrom
Returns the numbers from starting point to ending point with an optional custom separator.

FUNCTION USAGE

  • $numbersFrom[start;end]
  • $numbersFrom[start;end;separator]

Properties:

start - The starting point. Must be a number. end - The ending point. Must be a number. separator - Separates each number with the defined separator. Undefined separator will automatically separate with a comma.
Example 1: Returns 5, 6, 7, 8, 9, 10
1
bot.Command({
2
name: "test",
3
code: `
4
$numbersFrom[5;10]
5
`
6
})
Copied!
Example 2: Returns.. 5 6 7 8 9 10
1
bot.Command({
2
name: "test",
3
code: `
4
$numbersFrom[5;10;\n]
5
`
6
})
Copied!
Last modified 6mo ago
Copy link
Contents
Properties: