Код:
begin
   while User.Level > 35 do begin // lvl
      
      if not User.InCombat then begin
        
         if not Engine.SetTarget(30870) then    // target id guarda + bug fix
            if not Engine.SetTarget(30871) then begin // target id drugogo guarda
               delay(11000);        // delay do restarta in combat
               Engine.Restart;
               delay(3000);
               Engine.GameStart(0);  // Nr chara
               delay(3000);
            end;

         Engine.Attack(100, True); //лучше использовать Engine.UseSkill(ИД СКИЛА, true);
         
      end;
      
      if User.Dead then begin
         Delay(1000);
         Engine.GoHome;
         Delay(1000);
         Engine.MoveTo(147366, 19833, -2035);
      end;
      
      Delay(2000);
   end;
end.