Waiteval

Description
Pauses the script until an condition evaluates to true.

Syntax
waiteval

Parameters

 * condition
 * a statement that when evaluated returns true or false, and only proceeds when it is true

Examples
 castloop: put prep MAF waitforre ^You feel fully prepared put cast if ($mana <= 70) then waiteval ($mana > 70) goto castloop