$indexOfArg
$indexOfArg
will return the index of the given query.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
string | string | The text the bot will be checking the index of. | true |
query | string | The query the bot will be checking for. | true |
Example(s)
This will return 3
as great
is the third argument in the query: