Just need a little help with banking here, seeing as I've created my own.
I have the script Banking the Banker until it recognizes either the BankScreen or the PinScreen, but is this the correct format for having the script input the Bank PIN?
My entire procedure:
Simba Code:
procedure GetBank; //My procedure, "GetBank" does just what it says on the tin. It Gets the Bank, and it Gets it much faster than SRL can.
var x, y: integer; //Thanks to nosaj.421 for suggesting this. Please report any bugs.
begin
FindNormalRandoms;
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
AntiBanSm;
WriteLn('We are at the bank. Finding a banker...');
repeat
if FindObj(x, y, 'anker', 4664372, 10) then //Finds the Banker. I had to use the Banker because the Bank Booth matches way too many colors.
WriteLn('Found a banker. Opening bank...');
Mouse(x, y, 0, 0, false);
ChooseOption('ank Ban'); //Gets the Bank.
until (BankScreen) or (PinScreen);
begin
if PinScreen then
if (Players[CurrentPlayer].Pin <> '')then
InPin(Players[CurrentPlayer].Pin)
end;
end;
Thanks,
KeepBotting