Functionalities
Other
$textAfter
Returns the content after the query field.

FUNCTION USAGE

  • $textAfter[content;query]

Properties:

content - The content being reviewed by the function. query - The word the function will be looking for in the 1st field. If the function finds it, function will return everything after the query.

Example 1: Returns - 6, 7, 8, 9, 10,

1
bot.Command({
2
name: "test",
3
code:`
4
$textAfter[1, 2, 3, 4, 5, 6, 7, 8, 9, 10;5]
5
`})
Copied!

Example 2: Random feedback for an example because why not, right?

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