In a command block the other part of the full script is the THEN and ELSE commands. For a full script, the THEN command (or THEN commands, as multiple can be placed in a full script) are executed if the IF command succeeds. If the IF command fails, the ELSE command block will play instead. When it comes to both IF and THEN/ELSE commands, the parameters change based on the command. A full list of the available THEN/ELSE commands are as follows...
Click the links to find out how each command works, and the arguments. |