$alternativeParsing

Dangerous Experiment

Changes the way how triggers are read.

Syntax

$alternativeParsing

Fail

This function was added at the end of 2019 as an experiment, and it can be unstable and break your commands. You should not use $alternativeParsing when making your bot.

Example

  1. Create two commands and set the trigger hello for one command and helloworld for the other.

  2. Add the $alternativeParsing function to the command code with the hello trigger.

    Code with trigger hello:

    $nomention
    $alternativeParsing
    $description["hello"]
    

    Code with trigger helloworld:

    $nomention
    $description["helloworld"]
    
  3. Execute commands.

hello "hello" helloworld "helloworld"

Example

  • Without $alternativeParsing:
hello "hello" helloworld "helloworld" "hello"