If

Description
Executes a single statement or block when the condition evaluates to true. Can be combined with else and elseif. Conditions can use as AND (&&) and OR (||) to evaluate multiple expressions at the same time.

Syntax
if then if then { ... }

Parameters

 * condition
 * any evaluation and related functions that, when combined and evaluated, return true
 * statement
 * any script that should be executed when the condition evaluates to true

Examples
if ($concentration >= 100) then put gaze my crystal if ("$lefthand" == "Empty" && "$righthand" == "Empty) then { put wield blade  put remove shield }