
What I would like to achieve is to
- Find any item(Type)
- If Found, Look for its Name [Like would be for a Runebook or a Bulk Orders Book or a Bulk Order Deed]
- Assign it to a variable
- Drag and Drop something in it (found with the same criteria)
So far I've got.
Code: Select all
Program test;
var i: Integer;
const BodType =$2258;
Procedure FindBod;
Begin
   i := 0;
   if FindType(BodType, backpack) then
   begin     
      if pos('dagger', GetTooltip(finditem)) > 0 then
         begin  
         AddToSystemJournal('Found it!');  
         wait(250);
         end
       else   
          begin
          AddToSystemJournal('Not Found');
          wait(250); 
          end;
   end;
IgnoreReset;
End;
Begin
FindBod;
wait(250);
end.
