Page tree
Skip to end of metadata
Go to start of metadata

A statement is a piece of scripting code. It is an instruction to the script interpreter and tells it to do something.

Types of Statements

A statement can be:

Value Assignment

Add Assignment Operators to Variables.

_counter = _counter + 1;
_name = "Joe";

Control Structure

Any Control Structure including its blocks.

if (_value > _limit) then
    hint "oh no";


Any Command including its Argument.

player sideChat "hello";