Difference between revisions of "Scripting Tutorial: Basic Scripting Knowledge"

imported>Sythe1525
imported>Sythe1525
Line 16: Line 16:
There are two sub-categories: ''administrative commands'' and ''statements'':
There are two sub-categories: ''administrative commands'' and ''statements'':


*''Administrative Commands'' are [[Scriptname]], [[Begin]]...[[End]] and the [[:Category:Blocktypes|Blocktypes]] used by [[Begin]]. Every working script requires at a [[Scriptname]], and one [[Begin]]...[[End]] block, to assign the script to objects and control '''when''' the script is exectued.
*''Administrative Commands'' are [[Scriptname]], [[Begin]]...[[End]] and the [[:Category:Blocktypes|Blocktypes]] used by [[Begin]]. Every working script requires at least a [[Scriptname]], and one [[Begin]]...[[End]] block, to assign the script to objects and control '''when''' the script is exectued.


*''Statements'' are [[Set]], [[If]], [[Return]] and the [[Declaring_variables|variable declarations]] Statements aren't required for a script to work, but all but the most simple scripts require them to control '''how''' the script is executed.  
*''Statements'' are [[Set]], [[If]], [[Return]] and the [[Declaring_variables|variable declarations]] Statements aren't required for a script to work, but all but the most simple scripts require them to control '''how''' the script is executed.  
Anonymous user