Btest (Main.sc)

Btest(flag)

Tests a boolean game flag.

Parameters:flag (number) – The number of the flag to test.
Returns:TRUE if the flag is set, otherwise FALSE.

Example usage:

(if (not (Btest FLAG_OpenedSewer))
        (Prints {You can't enter, the sewer is closed.})
)