if hscript command
Conditionally executes a block of commands if a condition is true.
Usages
if (condition) [then] ... [else if | else ] ... endif
If condition is true, the contents of the if are executed.
Note | Currently, statements inside the if clause must occur on separate lines. That is, statements like “if ($F == 1) echo Frame One” will not work. |
Examples
if ( $F == 1 ) thenecho Frame Oneelseecho Not Frame Oneendif
