Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. $${
  2. if(vendercac);
  3. unset(vendercac);
  4. log(desativado);
  5. log(&5vendeu &4%#inv% &5inventarios);
  6. stop;
  7. else;
  8. set(vendercac);
  9. log(&6macro ativado,indo para a home);
  10. ///tempo em segundos para conversar e|ou deixar o inventario aberto
  11. wait(2);
  12. echo(/home cac);
  13. #inv=0;
  14.  
  15. do;
  16. if(%GUI%!="INVENTORY");
  17. wait(6);
  18. gui(inventory);
  19. endif;
  20. getslotitem(34,#id,#stack);
  21. if(#id!=81);
  22. slotclick(34,l,false);
  23. slotclick(-999,l,false);
  24. else;
  25. if(#stack>=63);
  26. #xp=%XPOS%;
  27. echo(/home vendercac);
  28. do;until(%XPOS%!=%#xp%);
  29. do;key(attack);getslot(81,#id);wait(40ms);until(%#id%=-1);
  30. wait(1900ms);
  31. #xp=%XPOS%;
  32. echo(/home cac);
  33. do;until(%XPOS%!=%#xp%);wait(800ms);
  34. #yp=%YPOS%;do;keydown(jump);until(%YPOS%>%#yp%);echo(/desbugar);
  35. #inv=%#inv%+1;
  36. log(&6inventarios vendidos &5= &4%#inv%);
  37. endif;
  38. endif;
  39. loop;
  40. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement