You can use the IF Command to do control flow in your tiImport script.
AND, OR, NOT and parenthesis are supported in the logic.
Currently only the Equals operator is supported.
ELSE is optional in the IF statement.
IF expression1 = expression2 THEN
IF @var1=10 THEN
PRINT ‘HELLO WORLD’