private static void ExecuteIfCmd(IfCommand ifc)
 {
     if (ConditionEvaluator.Evaluate(ifc.condition))
     {
         Execute(ifc.command);
     }
     else if (ifc.elseCommand != null)
     {
         Execute(ifc.elseCommand);
     }
 }
 private static void ExecuteWhile(WhileCmd w)
 {
     onLoop++;
     while (ConditionEvaluator.Evaluate(w.condition))
     {
         Execute(w.command);
         if (breakSet)
         {
             breakSet = false;
             break;
         }
     }
     onLoop--;
 }