Difference between revisions of "Begin"
Jump to navigation
Jump to search
adding note about multiple blocks
imported>JOG (Removed wrong information) |
imported>DragoonWraith (adding note about multiple blocks) |
||
Line 1: | Line 1: | ||
All script commands, except for variable declarations, must be inside a begin-end block. Each time the script runs, each block will be evaluated to see if it is valid. If not, the script inside the block will not be run. | All script commands, except for variable declarations, must be inside a begin-end block. Each time the script runs, each block will be evaluated to see if it is valid. If not, the script inside the block will not be run. | ||
If multiple blocks are valid, they will be run in the order they are written in the script. | |||
'''Example:''' | '''Example:''' |