Можете посмотреть данный код на наличие конфликтов, части в отдельности работают исключительно, при сборке вместе идет конфлик и скрипт не работает вообще(
SUB(mouse_move,$MOVE_END_X,$MOVE_END_Y)
$MOVE_SPEED = 4
$MOVE_Start_X = $_xmouse
$MOVE_Start_Y = $_ymouse
$MOVE_X = $MOVE_Start_X
$MOVE_Y = $MOVE_Start_Y
$dist = DIST($MOVE_END_X,$MOVE_END_Y,$MOVE_Start_X,$MOVE_Start_Y)
$MOVE_SPEEDVAR = INT((SQRT($dist))/$MOVE_SPEED)
IF($MOVE_SPEEDVAR < 1)
$MOVE_SPEEDVAR = 1
END_IF
$MOVE_step=($dist-1)/$MOVE_SPEEDVAR
$MOVE_X_step = ($MOVE_END_X-$MOVE_Start_X)/$MOVE_step
$MOVE_Y_step = ($MOVE_END_Y-$MOVE_Start_Y)/$MOVE_step
FOR($MOVE_i=0, $MOVE_i<INT($MOVE_step))
$MOVE_X = $MOVE_X + $MOVE_X_step
$MOVE_Y = $MOVE_Y + $MOVE_Y_step
MOVE(ROUND($MOVE_X,0), ROUND($MOVE_Y,0))
WAITMS(1)
END_CYC
MOVE($MOVE_END_X, $MOVE_END_Y)
END_SUB
SUB(poisk)
$SHIFT_X = 5
$SHIFT_Y = 5
$ARR_NUM = 0
$X2 = 0
$Y2 = 0
WHILE ($ARR_NUM < ARRSIZE($ARR_SCAN)
$X = $ARR_SCAN [$ARR_NUM]
INC($ARR_NUM,1)
$Y = $ARR_SCAN [$ARR_NUM]
INC($ARR_NUM,1)
IF(($X > $X2)|($Y > $Y2))
$X2 = $X + $SHIFT_X
$Y2 = $Y + $SHIFT_Y
IF_PIXEL_IN($x-50,$y-50, $x+5,$y+5, 144)
WAITMS(1)
ELSE
$ARR_NUM = ARRSIZE($ARR_SCAN)
mouse_move($x, $y)
WAITMS(700)
DBLCLICK($x, $y)
END_IF
END_IF
END_CYC
UNDEFINE($ARR_SCAN)
END_SUB
GETSCREEN
SCANPXL($ARR_SCAN, 79,252,1581,728,3211262)
getscreen
poisk()
wait(1)
getscreen
IF(pxlcount(955,520,1008,556,11860735) > 0)
goto(oti)
lclick(849,215)
waitms(2000)
END_IF
getscreen
IF(pxlcount(79,252,1581,728,3211262) = 0)
lclick(849,215)
waitms(2000)
END_IF
getscreen
IF(pxlcount(79,252,1581,728,3211262) = 0)
lclick(849,235)
waitms(2000)
END_IF
getscreen
IF(pxlcount(79,252,1581,728,3211262) = 0)
mouse_move(849,220)
lclick(849,220)
waitms(2000)
END_IF
getscreen
IF(pxlcount(79,252,1581,728,3211262) = 0)
mouse_move(849,205)
lclick(849,205)
waitms(2000)
END_IF
oti:
waitms(50)
end_if
getscreen
if_pixel_in(553,461,697,479,255)
if_pixel_in(579,491,676,507,4873365)
mouse_move($_return1, $_return2)
lclick($_return1, $_return2)
end_if
end_if
wait(1+rnd(1,3))
getscreen
if_pixel_in(513,250,635,260,9842944)
wait(1+rnd(1,4))
GETSCREEN
IF_PIXEL_IN(426,520,442,536,9035255)
IF_PIXEL_IN(463,362,509,389,1908335)
mouse_move($_return1, $_return2)
LCLICK($_return1+rnd(1,4), $_return2+rnd(1,5))
WAIT(1+rnd(1,5))
END_IF
END_IF
if($time1 < $_time_t)
$time1 = $_time_t + 22
getscreen
if_pixel_in(271,234,377,244,92)
if_pixel_in(12,201,62,246,12515010)
mouse_move($_return1, $_return2)
lclick($_return1, $_return2)
waitms(50)
end_if
end_if
getscreen
if_pixel_in(271,234,377,244,92)
if_pixel_in(6,250,64,289,12515010)
mouse_move($_return1, $_return2)
lclick($_return1, $_return2)
waitms(50)
end_if
end_if
getscreen
if_pixel_in(271,234,377,244,92)
if_pixel_in(8,291,57,333,12515010)
mouse_move($_return1, $_return2)
lclick($_return1, $_return2)
waitms(50)
end_if
end_if
getscreen
if_pixel_in(271,234,377,244,92)
if_pixel_in(9,340,66,377,12515010)
mouse_move($_return1, $_return2)
lclick($_return1, $_return2)
waitms(50)
end_if
end_if
end_if
wait(1)
GETSCREEN
IF_PIXEL_IN(426,520,442,536,4044373)
IF_PIXEL_IN(447,520,462,536,9035255)
IF_PIXEL_IN(456,451,511,487,1251944)
mouse_move($_return1, $_return2)
LCLICK($_return1+rnd(4,8), $_return2+rnd(5,9))
WAIT(1+rnd(1,5))
END_IF
END_IF
END_IF
GETSCREEN
IF_PIXEL_IN(447,520,462,536,4044373)
IF_PIXEL_IN(468,519,483,536,9035255)
IF_PIXEL_IN(456,451,511,487,1251944)
mouse_move($_return1, $_return2)
LCLICK($_return1+rnd(4,8), $_return2+rnd(5,9))
WAIT(1+rnd(1,5))
END_IF
END_IF
END_IF
GETSCREEN
IF_PIXEL_IN(468,519,483,536,4044373)
IF_PIXEL_IN(489,520,505,536,9035255)
IF_PIXEL_IN(463,362,509,389,1908335)
mouse_move($_return1, $_return2)
LCLICK($_return1+rnd(4,8), $_return2+rnd(5,9))
WAIT(1+rnd(1,5))
END_IF
END_IF
END_IF
wait(1+rnd(1,5)
getscreen
if_pixel_in(482,419,553,432,193)
mouse_move($_return1, $_return2)
lclick($_return1+rnd(1,3), $_return2+rnd(1,3))
mouse_move(812,136)
lclick(812+rnd(1,10),136+rnd(1,10))
END_IF
end_if