Difference between revisions of "Scripting Tutorial: Basic Scripting Knowledge"
Scripting Tutorial: Basic Scripting Knowledge (edit)
Revision as of 11:59, 26 May 2006
, 11:59, 26 May 2006→1. [[:Category:Commands|Commands]]
imported>JOG |
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 | *''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. | ||
*''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. |