$(2) syntax, or $(start:end) to return a range of arguments.
Parameters
This variable takes one optional parameter that is a fallback response, that will be returned if no argument at the specified argument index is provided.Example Usage
-
A command with the name
!verycoolnameand a response of the following:If triggered by!verycoolname test1 test2 test3, would return the following response:And if triggered by either!verycoolnameor!verycoolname test1, would return the following response:
Error Output
-
In case no argument at the specified argument index is provided, as well as no fallback response, returns the following: