ON redirects the program to different labels depending on the value of the variable put into it. It will go to the first label if the value of the variable is 0, the second label if the value if the variable is 1, etc...
There's also an in-game help feature that tells you how to use the command your cursor is on.
1そうだね プレイ済み