The syntax used is identical to the most used languages, including Perl.
Here is an example:

Edit:
In the revision 8462, the implemented else.
Here is a complete example:

Edit:
Now I added the 'elsif'!
He is like the else + if.
Basically, it serves to make the commands shorter, readable and optimized.
Example with explanation:
