program New;
{.include srl/srl.scar}
{
Script made by The Scar Noob in 5 minutes of work.
Instructions:
Fill in the two constants ("fromslot" and "toslot") to tell the script
were to start dropping :)
1-2-3-4
5-6-7-8
.......
}
const
fromslot = 1;//from slot nr
toslot = 28;//to slot nr
repeatx = true;
{Information about repeatx:
true: the script "waits" until you have pressed the F5-key.
When your want to drop again, just simply press F5 again..
Press F10 to terminate the script.
false: you run the script, script drops stuff and will terminate after
it's done.}
procedure Drop;
var
x, y :integer;
dropped, i: integer;
TB: TBox;
begin
if not(LoggedIn)then Exit;
GameTab(4);
for i:= fromslot to toslot do
begin
TB:= InvBox(i);
if ExistsItem(i) then
begin
Mouse(x, y, 2, 2, False);
Wait(200+random(50));
ChooseOption('rop');
Inc(Dropped);
end;
end;
ClearDebug;
Writeln('/---------- Drop Information ----------\');
Writeln('/---------- ----------\');
Writeln('/---------- Dropped '+inttostr(Dropped)+' items ----------\');
Writeln('/---------- ----------\');
Writeln('/---------- Drop Information ----------\');
end;
procedure DoAll;
begin
if repeatx then
begin
repeat
if IsFKeyDown(5) then Drop;
until IsFKeyDown(10)
end else
begin
Drop;
end;
end;
begin
setupsrl;
DoAll;
end.