Advertisement
Guest User

smell

a guest
Apr 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.33 KB | None | 0 0
  1. Program TestBS;
  2.  
  3. const
  4.  
  5. Forge = $40602C20;
  6. Ore = $19B9;
  7.  
  8. WaitTime = 500;
  9. WaitLagTime = 10000;
  10.  
  11. procedure SmellOre;
  12. begin
  13. if FindTypeEx(Ore,$FFFF,Backpack,False)>0 then begin
  14. UseObject(FindItem);
  15. WaitForTarget(WaitTime);
  16. if TargetPresent then begin
  17. TargetToObject(Forge);
  18. Wait(WaitTime);
  19. end;
  20.  
  21. end;
  22.  
  23. begin
  24. SmellOre;
  25. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement