4.2 Using IF Statements

In addition to the echo command, conditional text can be generated. The way to specify conditional text is using an %IF statement. The %IF statement is as follows:

%IF variable-expression
.
.
.
%IF END

The variable-expressionvariable is either a Boolean variable, or if it is prefixed with an exclamation point, the negation of the variable. If the variable-expressionis true, the contents of the %IF are executed. If false, they are not. There is no ELSE clause.

The following variables are available for use:

Table 4-3 Variable-Expression Variables

Variable

Description

CALL_IN

True when the meeting has a voice conference associated with it and the participant has no phone number.

CALL_OUT

True when the meeting has a voice conference associated with it and the participant has a phone number.

DESCRIPTION

True when a non-empty description exists for the meeting.

MESSAGE

True when a non-empty invitation message exists for the meeting.

PASSWORD

True when a non-empty password exists for the meeting.

PRIVATE

True when the meeting is a private meeting.