Coding: BJS

What are these scenarios in the command?

Command can have some scenarios with BJS code.
BJS - it is "Bot Java Script" code.
It is Java Script!
Example. Calculating 2+2 and send result to the chat:
1
Bot.sendMessage(2+2);
Copied!
On command executing, its scenarios are executed sequentially and isolated.