Ну допустим GOTO(sk1) должна идти к sk:
$check = 0
WHILE($check = 0)
GETSCREEN
IF_PIXEL_IN(805,460, 879,475, 205044)
INC($t,-70)
LOGWRITE("минус ", $t)
WAITMS(50)
ELSE
WAITMS(RND(20,40))
$check = 1
END_IF
END_CYC
$check = 0
WHILE($check = 0)
GETSCREEN
IF_PIXEL_IN(805,460, 879,475, 205044)
INC($t,+135)
LOGWRITE("плюс ", $t)
$r = RND(1500,1550)+$t
IF($r < 0) // защита против возможного минусового значения задержки
$r = 0
$t = 0
END_IF
LDOWN(1054,475)
WAITMS($r)
LUP(1054,475)
WAITMS(RND(40,60))
ELSE
WAITMS(RND(20,40))
$check = 1
END_IF
END_CYC