What script are you using?.
You could add a simple function to your Cave entrance procedure.
After you find Cave and click it, you add:
Simba Code:
clickmouse2(mouse_left); // this is supposed to be your click for entering the cave.
if DidClick(True,500) then // you can change the 500 to any time you want
begin // so if a red click passes, it will wait till your character reaches center.
wait(randomrange(6000,10000); // you could try changing the wait time.
clicktocontinue; // of course you need this. No need to explain.
Rest of the script.
SPS doesn't work too well in cave, i made 4 different custom maps, and they all just barely worked, waste of time and energy to invest into it.
edit:
Another thing you can do is
Simba Code:
if GetColor(641,11) = 0 then
begin
MouseBox(654,145,658,151,1);
wait(randomrange(5000,10000);
This will detect the blackness outside cave boundaries and get you south. All taken from my script. Small things but they are very effective.
You could also use RadialWalkAutoColor, works kinda of.