Advertisement
Guest User

Untitled

a guest
May 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. $${
  2. IF(@reparco);
  3. LOG("&4[&6!&4]&f[Macro] de Reparar ARCO &f 2.0 &6&4[OFF]");
  4. UNSET(@reparco);
  5. STOP();
  6. ELSE;
  7.  
  8. LOG("&4 [&6!&4]&f[Macro] de Reparar ARCO &f 2.0 &4[&6!&4&2ON]");
  9. LOG(&3By [&5EDH]&fGustavo);
  10. SET(@reparco);
  11.  
  12. #rep=1;
  13. #nslot=0;
  14. #dropar=1;
  15. #nbau=1;
  16.  
  17. DO;
  18.  
  19. DO(2);
  20. echo(/home bauarco%#nbau%);
  21. wait(2);
  22. keyup(right);
  23. key(use);
  24. wait(3);
  25. for(#w,0,53);
  26. slotclick(%#w%,l,true);
  27. wait(15ms);
  28. endif;
  29. next;
  30. wait(1);
  31. gui();
  32.  
  33. DO(3);
  34.  
  35. IF(%#rep%=1);
  36. DO(10);
  37. INC(#nslot,1);WAIT(50ms);SLOT(%#nslot%);ECHO(/reparar);WAIT(1);ENDIF;
  38. LOOP;
  39. ENDIF;
  40. ELSE;
  41. #rep=2;
  42. #nslot=0;
  43. ENDIF;
  44.  
  45. IF(%#dropar=1%);
  46. WAIT(1);
  47. ECHO(/home lixo);
  48. WAIT(2);
  49. gui(inventory);
  50. for(#limpar,36,44);
  51. getslotitem(%#limpar%,#id);
  52. if(#id=261);
  53. slotclick(%#limpar%);wait(110ms);slotclick(-999);endif;
  54. next;gui;
  55. ENDIF;
  56. ELSE;
  57. #dropar=2
  58. ENDIF;
  59.  
  60.  
  61. wait(1);
  62. gui(inventory);
  63. for(#puxar,27,35);
  64. getslotitem(%#puxar%,#id);
  65. if(#id=261);
  66. slotclick(%#puxar%,l,true);wait(110ms);endif;
  67. next;gui;
  68.  
  69. WAIT(2);
  70.  
  71. #rep=1;
  72. #dropar=1;
  73.  
  74. wait(1);
  75. gui(inventory);
  76. for(#puxar,18,26);
  77. getslotitem(%#puxar%,#id);
  78. if(#id=261);
  79. slotclick(%#puxar%,l,true);wait(110ms);endif;
  80. next;gui;
  81.  
  82. WAIT(2);
  83.  
  84. #rep=1;
  85. #dropar=1;
  86.  
  87. LOOP;
  88.  
  89. LOOP;
  90.  
  91. #nbau=#nbau+1
  92.  
  93. UNTIL(%#nbau%=3);
  94. ECHO(/home bauarco);
  95. LOG("MACRO FINALIZADA");
  96. UNSET(@reparco);
  97. STOP;
  98.  
  99. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement