Skip to main content
Returns the arguments between two argument indexes following a command name, including both the start and end arguments. Leave out the end index to return every argument from the start index onwards, or leave out the start index to begin at the first argument. If fewer arguments are provided than the end index, all arguments from the start index onwards are returned.

Parameters

This variable takes one optional parameter that is a fallback response, that will be returned if no argument at the start index is provided.

Example Usage

  • A command with the name !verycoolname and a response of the following:
    If triggered by !verycoolname test1 test2 test3 test4, would return the following response:
    If triggered by !verycoolname test1 test2, would return the following response:
    And if triggered by only !verycoolname, would return the following response:

Error Output

  • In case no argument at the start index is provided, as well as no fallback response, returns the following:
  • In case the end index is lower than the start index, or either index is not a number, returns the following: