Hey,
FindNormalRandoms will find and attempt to solve the normal randoms, talking, mod, mime, dead, maze, lamp, box etc. Just call it in your script
Sandwich lady comes under talking randoms, there is a solver for it, it works for some and not for others.
SCAR Code:
Function FindFastRandoms: Boolean; // By WT-Fakawi.
Var
i: Integer;
Begin
if not LoggedIn then Exit;
For I := 1 To 11 Do
Begin
Case I Of
1: If FindDead Then
Result := True;
2: If FindMod Then
Result := True;
3: If FindMime Then
Result := True;
4: If FindMaze Then
Result := True;
5: If FindQuiz Then
Result := True;
6: If FindDemon Then
Result := True;
7: Begin
If NoGameTab Then
Begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Players[CurrentPlayer].Active := False;
Logout;
Exit;
End;
End;
8 : If RC Then
Result:=True;
9 : If FindFight Then
Result := True;
10: If FindTalk Then
Result := True;
11: If FindCerter Then
Result := True;
End;
Wait(1);
End;
End;
SCAR Code:
procedure AntiRandom;
begin
if not LoggedIn then Exit;
FindTalk;
FindFastRandoms;
FindNormalRandoms;
FindLamp('Woodcutting');
SolvePinball;
end;
Example for you.
If you are in a random that cannot solve, you will be logged out and move onto next character (if setup properly). Therefor you need to be able to exit the main loop safely and quick (checking if logged in).
Also you need to call your main antirandom procedure often enough to find the randoms.