SCAR Code:
Procedure WalkRope;
begin
if(not(LoggedIn)) then Exit;
AntiRandom;
Text:=['Walk-on', 'alk-on', 'on', 'Balancing rope', 'alancing rope', 'alancing', 'ope'];
Energy:=GetMMLevels('run', runcolor);
if(Energy > 65 + random(10)) then SetRun(True);
if(Energy < 20 + random(10)) then SetRun(False);
SetAngle(True);
MakeCompass('S');
repeat
tries:=tries+1
x:=MSCX
y:=MSCY
FindColorsSpiralTolerance(x, y, Rope, 5865373, MSX1, MSY1, MSX2, MSY2, 10);
if(Length(Rope) = 0) then FindColorsSpiralTolerance(x, y, Rope, 6392747, MSX1, MSY1, MSX2, MSY2, 10);
for i := 0 to high(Rope) do
begin
MyPoint := Rope[i]
MMouse(MyPoint.x, MyPoint.y-1, 0, 0);
wait(200 + random(100));
if (IsUpTextMultiCustom(Text)) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, False);
wait(200 + random(150));
ChooseOptionMulti(Text);
Wait(1000+random(250));
Exit;
end;
end;
Until(tries=10) or (FindBlackChatMessage('carefully cross'))
end;