Poweraids
2012-04-26 01:29:00
Alright i followed the "Script down your first rs tree! " Tutorial in the guide section and its working fine, what i now am trying to do is make it bank, i have.
It chops logs till full invent then ends, how do i make it start another inv?
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
end;
Procedure Antiban;
begin
if(not(LoggedIn))then
Exit;
case Random(8) of
0:
begin
HoverSkill('Woodcutting', false);
wait(2453+Random(432));
end;
1: PickUpMouse;
2:
begin
MakeCompass('N');
wait(100+random(313));
MakeCompass('S');
wait (10+random(80));
MakeCompass('N');
FindNormalRandoms
end;
end;
end;
Procedure Bank;
var x, y: integer;
begin
if (InvFull)=True then
FindObj (x, y, 'anker', 2977939, 100);
Mouse(x, y, 2, 2, false);
Wait(1200);
ChooseOption('ank Banker');
Wait(1200);
FindObj (x, y, 'eposit', 1854330, 100)
Mouse(x, y, 2, 2, false);
ChooseOption('eposit');
end;
Procedure ChopTree;
var x, y: integer;
begin
repeat
FindNormalRandoms
if FindObj(x, y, 'hop', 4153202, 150) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Antiban;
Until not isUpText('ree') or (InvFull);
until(InvFull);
Bank;
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
Loginplayer;
ChopTree;
Bank;
end.. It chops logs till full invent then ends, how do i make it start another inv?