Скрипт грузит процессор, помогите правильно расставить задержки.
$time2 = $_time_t + 10
WHILE($time2 > $_time_t)
GETSCREEN(70,50, 730,500)
COLORMODE(6, 70,50, 730,500)
IF_PICTURE_IN (70,50, 730,500, "texture\Okno.bmp", 52275, 90)
IF((PXL($_return1+19, $_return2-179) = 8372223)^(PXL($_return1+154, $_return2-273) = 12582911))
GETSCREEN(2,30, 961,569)
SCREENSHOTFIX(2,30, 961,569, STRCONCAT("Fish\", $_date_y,$_date_m,$_date_d,"_",$_time_h,$_time_m,$_time_s,".bmp"), 0)
COLORMODE(6, 2,30, 961,569)
END_IF
$time2 = 0
KEYUP(#c)
KEYUP(#x)
WAITMS(100)
IF(PXL($_return1+247, $_return2-275) = 12566463)
LCLICK($_return1+315, $_return2+63)
WAITMS(50)
ELSE
IF(PXL($_return1+185, $_return2+73) = 8355647)
LCLICK($_return1+185, $_return2+63)
WAITMS(50)
ELSE
LCLICK($_return1+315, $_return2+63)
END_IF
WAITMS(50)
END_I
WAITMS(RND(240,270))
ELSE
WAITMS(50)
KEYDOWN(#C)
KEYDOWN(#X)
WAITMS(10)
END_IF
END_CYC