(hash) if

Description
Executes an expression based on a given condition (or another when the condition is false).

Syntax
#if [falsecmd]

Parameters

 * expression
 * the condition you want to evaluate
 * truecmd
 * any script to execute when the condition evaluates to true
 * falsecmd
 * any script to execute when the condition evaluates to false

Examples
#if {$hidden} {put poach} {put fire}