**BANNED The Man
2011-02-11 18:20:41
With the addition of this:
http://villavu.com/forum/showthread.php?p=778486
This will work:
It will find the item in the inventory and move it to the desired slot, good for Alching scripts.
-Boom
http://villavu.com/forum/showthread.php?p=778486
This will work:
Function R_MoveItem(ID, WhichSlot):Boolean;
var
i: integer;
TB, NB : TPoint;
begin
for i := 1 to 28 do
if(GetItemIDAt(i) = ID)then
begin
TB := InvBox(i);
MouseBoxEx(TB.X1, TB.Y1, TB.X2, TB.Y2,14, 4);
NB := InvBox(WhichSlot)
MouseBoxEx(NB.X1, NB.Y1, NB.X2, NB.Y2,14,3);
GetMousePos(mp.x, mp.y);
ReleaseMouse(mp.x, mp.y, MouseAction(true));
end;
Result := GetItemIDAt(WhichSlot) = ID;
end;It will find the item in the inventory and move it to the desired slot, good for Alching scripts.
-Boom