Using a variable to make Ohbot become sleepy
Variables are useful whenever a value needs to be stored. They are easy to understand if we think of them as a box into which only one number or string of letters (a word) can be placed.
We can use variables to give Ohbot needs. Try this example to make Ohbot become sleepy, then wake when the spacebar is clicked.
Download the program
To download the program right mouse click on the link and select either 'Save Link As' or 'Save Target As' from the menu. Find a location to save the program to on your computer. Open up Ohbot software and use Open to locate the file that you have downloaded.