program EdgevilleBurner;
{.include SRL\SRL.scar}
{Start Script With Full Inventory Of Logs, Tinderbox In Your First
Inventory Slot. The Rest In Bank, First Slot. Falodor East Bank.}
var
p,f,j,h:integer;
const
HowManyLogs = 27; // # Of Logs To Burn
BetweenLogs = 4000;
Procedure DeclarePlayers;
begin
HowManyPlayers :=1; // Leave
NumberOfPlayers(HowManyPlayers); // Leave
CurrentPlayer:=0; // Leave
Players[0].Name :='YourUserName'; // Your Username
Players[0].Pass :='YourPassword'; // Your RS Password
Players[0].Nick :='sern'; // First 3 lowercase letters of your name
Players[0].Loc :='Bank'; //Leave
Players[0].Skill:='Attack'; //Leave
Players[0].Active:=True; //Leave
end;
Procedure Setup;
begin
SetupSRL;
ActivateClient;
DeclarePlayers;
If(LoggedIn=False) Then LoginPlayer;
Wait(1500+Random(1000));
end;
Procedure OutOfBank;
begin
FindSymbol(x,y,'bank')
Mouse(x,y-12,3,3,true)
Flag
end;
Procedure WalkToBank;
begin
FindSymbol(x,y,'Bank')
Mouse(x,y,3,3,true)
Flag
end;
Procedure MoreLogs;
begin
OpenBank;
Wait(500+Random(1000));
If(BankScreen) Then
begin
Deposit(2,28,2)
Wait(500+Random(1000))
Withdraw(1,1,27)
Wait(500+Random(1000))
end
CloseBank;
end;
Procedure DoAntiBan;
begin
Case Random(5) of
0: RandomRClick;
1: PickupMouse;
2: AntiBan
3: HoverSkill('Firemaking',false)
4: HoverSkill('Woodcutting',false)
end;
end;
Procedure BurnLogs;
begin
MouseItem(1,true);
Wait(500+Random(1500));
MouseItem(p,true);
Wait(BetweenLogs+Random(1500));
FindNormalRandoms;
J:= J+1;
If(j > 16+Random(24)) Then DoAntiBan; J:=0;
h:= h+1
f:=f+1
If(f > 5+Random(5)) Then
begin
WalkToBank;
OutOfBank;
f:=0
end
end;
begin
ClearDebug;
Setup;
repeat
WalkToBank;
OutOfBank;
p:=1
repeat
BurnLogs;
FindNormalRandoms;
p:=p+1
Until(p = 27)
WalkToBank;
MoreLogs;
Until(h = HowManyLogs)
Logout;
WriteLN('Out Of Logs');
End.