EasyManua.ls Logo

Alcorn Mcbride V16Pro - If =, If not =, If >, If >=, If <, If <=

Alcorn Mcbride V16Pro
179 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WinScript Live Command Reference Page 76
Time
Event
Data1
00:00.00
If Off
NightMode Boolean Type Variable
00:00.00
Play
Ldp1
00:00.00
End If
The Play event is skipped if the system is in Night Mode.
Example using "Label"
Label
Time
Event
Data1
Data2
00:00.00
If On
NightMode
Boolean Type
Variable
End
00:00.00
Play
Ldp1
End
00:00.00
Empty
The Play event is skipped if the system is in Night Mode.
If =, If not =, If >, If >=, If <, If <=
Conditionally executes events based on the value of a Variable. . If an Event Label is used, events
are jumped over if the condition is true. If an Else or End If event is used, events are executed
inside the area between the If and the End If if the condition is true.
If = -- Is true if the value of a Variable is equal to a constant value (0-255)
or the value of another Variable.
If not = -- Is true if the value of a Variable is not equal to a constant
value (0-255) or the value of another Variable.
If > -- Is true if the value of a Variable is greater than a constant value (0-
255) or the value of another Variable.
If >= -- Is true if the value of a Variable is greater than or equal to a
constant value (0-255) or the value of another Variable.
If <= -- Is true if the value of a Variable is less than or equal to a constant
value (0-255) or the value of another Variable.
If < -- Is true if the value of a Variable is less than equal to a constant
value (0-255) or the value of another Variable.
Event Syntax using "End If"
Time
Event
Data1
Data2
00:00.00
Event
Name
Variable
Constant value (0-255) <or> another Variable
00:00.00
Executed
Events
Events
00:00.00
End If
Example #1
Time
Event
Data1
Data2
00:00.00
If >=
ShowVar
5
00:00.00
Play
Ldp1

Table of Contents