WAITMS(500)
GETSCREEN(756,376,756,376)
IF(PXL(756,376)=54687)
SETTHREAD (t2, 2) // 0 - ?????, 1 - ?????, 2 - ????
LCLICK(585,42)
WAITMS(500)
SETTHREAD (t2, 1) // 0 - ?????, 1 - ?????, 2 - ????
ELSE
GETSCREEN(300,87,300,87)
IF(PXL(300,87)=5132111)
SETTHREAD (t2, 0) // 0 - ?????, 1 - ?????, 2 - ????
LCLICK(719,501)
WAITMS(200)
SETTHREAD (t2, 1) // 0 - ?????, 1 - ?????, 2 - ????
ELSE
WAITMS(250)
END_IF
END_IF
thread(t2)
WAIT(2)
MOVE(351,258)//?????????? ?????? ????
WAIT(2)
LCLICK(351,258)------------------------ВОТ ЭТОТ КЛИК ИНОГДА НЕ СРОБАТЫВАЕТ
WAITMS(550)
$check = 0
WHILE($check = 0)
GETSCREEN
IF_PIXEL_IN (488,69, 533,97, 263515, 2237002)
$check = 1
LCLICK(307,86)//????
WAIT(7)
ELSE
WAIT(7)
END_IF
END_CYC
WAIT(12)
LCLICK(1091,533)
WAIT(21)
LCLICK(1132,179)
WAIT(6)
LCLICK(1091,535)
WAITMS(500)
$check = 0
WHILE($check = 0)
GETSCREEN
IF(PXL(316,153)=1821599)
$check = 1
LCLICK(491,145)//????
WAIT(2)
ELSE
WAIT(2)
END_IF
END_CYC
WAIT(5)
$check = 0
WHILE($check = 0)
GETSCREEN
IF(PXL(689,66)=1563049)
$check = 1
LCLICK(589,265)//клик
WAIT(2)
ELSE
WAIT(2)
END_IF
END_CYC
WAIT(1)
LCLICK(811,315)
WAIT(3)
$time=$_time_t+10
GETSCREEN
WHILE(PXL(688,332)!819302)
IF($time<$_time_t)
LCLICK(811,315)//клик
WAITMS(550)
$time=$_time_t+10
END_IF
WAITMS(850)
GETSCREEN
END_CYC
WAIT(1)
LCLICK(699,391)
WAITMS(50)
GETSCREEN
GETSCREEN
WHILE(PXL(689,66)=1563049) // ??????? ???? ? ?????????? 689,66 ???? 1563049
WAITMS (50)
GETSCREEN
END_CYC
WAITMS(150)
LCLICK(585,42) // ??????? ???? ???? 1563049 ??????
WAITMS(250)
$time=$_time_t+10
GETSCREEN
WHILE(PXL(293,208)!1836252)
IF($time<$_time_t)
LCLICK(585,42)//????
WAITMS(250)
$time=$_time_t+10
END_IF
WAITMS(250)
GETSCREEN
END_CYC
WAIT(3)
end_thread