Difference between revisions of "Category:Commands"
Jump to navigation
Jump to search
imported>JOG m (clarifications on && and ||) |
imported>JOG m (linked to functions to ease up browsing) |
||
Line 53: | Line 53: | ||
[[Category: Scripting]] | [[Category: Scripting]] | ||
[[Category: Functions]] |
Revision as of 14:35, 12 April 2006
scriptname ScriptName
begin [block type]
; comment
short varNameShort
long varNameLong
float varNameFloat
ref varNameRef
set varName to 5
if ( varName > 100 ) ; greater than
elseif ( varName < 20 ) ; less than
else
endif
if ( varName == x ) ; equals
if ( varName != x ) ; not equal to
if ( varName >= x ) ; greater than or equal to
if ( varName <= x ) ; less than or equal to
if ( var1 == 1 && var2 != 1 ) ; logical and
if ( var1 != 1 || var2 >= 1 ) ; logical or
return ; exits the script -- no lines following will be processed
set objectID.varName to 100
objectID.getav health
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "Commands"
The following 11 pages are in this category, out of 11 total.