Commands

Commands are one of the most powerful features of BRAIN Commands are simply names of scripts that instruct the Robot to perform some task. You create commands by binding them to scripts.

Once a command has been created, you can type it in (or say it) to instruct the Robot to perform the script associated with that command.

Commands simply execute scripts:

  • Scripts can be as simple as one line, or can be complex, nested scripts that extract information from the Internet in order to make decisions.
  • Scripts can be used to control the navigation of the Robot, speak, and more.
  • Scripts can contains loops, variables, if-then-else statements etc.
  • Multiple scripts can run concurrently. This allows you for example, to keep an eye on stock, while checking the weather, reading email, etc.
  • Common scripts parts (called script components) can be saved as re-usable scripts that can be loaded as needed and inserted into a larger script.
  • Scripts can be paused, stopped, resumed and restarted. See the managing scripts section for more details.

For example, one of the sample commands that comes with BRAIN is a simple script to tell the time. To execute this script, you simply type in the command What time is it and your Robot faithfully tells you the time.

page44_1


Another sample script determines a persons age...

page44_2


There are a number of sample scripts to get you started. See the scripting section for more details.