SCAR Code:
Procedure DropItemsWithName(Name:TStringArray);
var
I:Integer;
TP:Tpoint;
begin
For I:=1 to 28 do
If ExistsItem(I) then
begin
TP:=ItemCoords(I);
MMouse(Tp.x, Tp.y, 2, 2);
If IsUpTextMultiCustom(Name) then
begin
MouseItem(I, False);
Wait(200+Random(50));
ChooseOption('rop');
end;
end;
end;
FeedBack anyone?
Edit:
SCAR Code:
Procedure DropItemsWithName(Name:TStringArray);
var
I:Integer;
TP:Tpoint;
begin
List[1, 2, 3, 4, 8, 7, 6, 5, 9, 10, 11, 12, 16, 15, 14, 13,
17, 18, 19, 20, 24, 23, 22, 21, 25, 26, 27, 28];
For I:=1 to 28 do
If ExistsItem(List[I]) then
begin
MMouseItem(List[I]);
If IsUpTextMultiCustom(Name) then
begin
MouseItem(List[I], False);
Wait(200+Random(50));
ChooseOption('rop');
end;
end;
end;
More human