For example, IF VAR==3 THEN commands will execute the commands only if the variable equals three. To see if something is equal you use two equal signs. You can also compare to a string (IF VAR$=="TEST" THEN commands)
After ELSE put the commands you want executed if the condition is not true.
1そうだね プレイ済み