Difference between revisions of "Category:Commands"

11 bytes added ,  02:19, 15 April 2006
m
Corrected scriptname link.
imported>Gblues
(Added basic syntax of a script; moved comparison and logical operators into if topic)
imported>Gblues
m (Corrected scriptname link.)
Line 8: Line 8:
</pre>
</pre>


The [[ScriptName]] command is fairly self-explanatory: it sets the name of the script. It is required, and the name must be unique.
The [[scriptname|ScriptName]] command is fairly self-explanatory: it sets the name of the script. It is required, and the name must be unique.


The [[begin]] directive defines the action that triggers the script. If the conditions of the [[begin]] statement are met, all commands between [[begin]] and [[end]] are executed. Every [[begin]] statement must have a corresponding [[end]] statement!
The [[begin]] directive defines the action that triggers the script. If the conditions of the [[begin]] statement are met, all commands between [[begin]] and [[end]] are executed. Every [[begin]] statement must have a corresponding [[end]] statement!
Anonymous user