For the ladder your best bet is to use something like:
Simba Code:
{.include ObjectDTM/ObjDTMInclude.simba} //if it isn't already
Function FindAndClickLadded : Boolean;
Var
A : array of MMObj;
P : TPoint;
begin
A := GatherMiniMapObjects([MM_LADDER]);
if(GetArrayLength(A) = 0)then
exit;
for i := low(A) to high(A) do
begin
P := A[i].Center;
P := MMtoMS(P);
x := P.x;
y := P.y;
if(FindColorSpiralTolerance(x, y, LadderColour, MSX1, MSY1, MSX2, MSY2, 10))then
begin
MouseBox(x - 5, y - 5, x + 5, y + 5, mouse_move);
if(WaitUpTextMulti(['Ladder', 'adder'], 200+Random(500)))then
begin
ClickMouse2(mouse_Left);
Result := True;
exit;
end;
end;
end;
end;
Let me know if you don't understand anything