Ends the primary code block for an 'if' statement and begins the alternative execution code block
(the block that is executed in the case that the 'if' statement's test is negative)
Often used when consecutive closely related 'if' conditions fail to do something completly different.
Example:
$value = 10
if $value > 20
| write to player logbook 'Value is above 20'
else
| write to player logbook 'Value is equal to or below 20'
end
In this case the 'if' condition fails so the 'else' condition is used.
Command Location:
- »» General Commands
- »» Flow Control
else
- »» Flow Control