Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. $${
  2. //Macro totalmente desenvolvido por MrSwags_
  3. //MysticCraft.com.br/IPB
  4. if(repset);
  5. log("&6[&f%PLAYER%&6] &aFinalizando UP de reparaçao! &c&l[OFF]");
  6. unset(repset);
  7. stop();
  8. else;
  9. log("&6[&f%PLAYER%&6] &aIniciando UP de reparaçao! &a&l[ON]");
  10. set(repset);
  11. if(repset);
  12. echo(/g &f&lIniciando macro de repair com sets! &6&lRumo 1200 &4&ls2);wait(500ms);
  13. clearchat;
  14. PROMPT(#dura,$$?,"§6§lReparar em qual durabilidade§f§l? (Recomendo 40)");
  15. if(%#dura%=0);log(&4&l[&c&l!&4&l] &8&lNumero referente a durabilidade invalido &4&l[&c&l!&4&l]);unset(repset);stop;endif;
  16. wait(1);
  17. #dd=800;
  18. gui(inventory);wait(1);
  19. log(&6[&f%PLAYER%&6] &6&l[&f&l!&6&l] &aChecando material da armadura!);wait(100ms);
  20. getslotitem(44,#matrl);wait(100ms);
  21. if(%#matrl%=306);log(&6[&f%PLAYER%&6] O material eh: &f&lFERRO);#mat2=265;#cap7=165;#peito=240;#calca=225;#bota=195;endif;
  22. if(%#matrl%=310);log(&6[&f%PLAYER%&6] O material eh: &b&lDIAMANTE);#mat2=264;#cap7=363;#peito=528;#calca=495;#bota=429;endif;
  23. if(%#matrl%=298);log(&6[&f%PLAYER%&6] O material eh: &8&lCOURO);#mat2=334;#cap7=55;#peito=80;#calca=75;#bota=65;endif;
  24. if(%#matrl%=314);log(&6[&f%PLAYER%&6] O material eh: &6&lOURO);#mat2=266;#cap7=77;#peito=112;#calca=105;#bota=91;endif;wait(300ms);
  25. getslotitem(5,#vset1);getslotitem(6,#vset2);getslotitem(7,#vset3);getslotitem(8,#vset4);
  26. if(%#vset1%=0)&&(%#vset2%=0)&&(%#vset3%=0)&&(%#vset4%=0);log(&6[&f%PLAYER%&6] &aO set nao esta vestido! &4&l[OFF]);unset(repset);stop;endif;
  27. getslotitem(41,#set1);getslotitem(42,#set2);getslotitem(43,#set3);getslotitem(44,#set4);
  28. if(%#set1%=0)&&(%#set2%=0)&&(%#set3%=0)&&(%#set4%=0);log(&6[&f%PLAYER%&6] &aSet reserva nao encontrado! &4&l[OFF]);unset(repset);stop;endif;
  29. wait(1);keydown(back);wait(1);keyup(back);
  30. do;
  31. gui();
  32. wait(500ms);
  33. type(e);
  34. wait(500ms);
  35. type(e);
  36. wait(500ms);
  37. gui(inventory);
  38. if(%HELMDURABILITY%<%#dura%);
  39. slotclick(5,l,false);
  40. wait(%#dd%ms);
  41. slotclick(44,l,false);
  42. wait(%#dd%ms)
  43. slotclick(5,l,false);
  44. wait(300ms);
  45. gui();
  46. slot(9);
  47. look(north);
  48. wait(200ms);
  49. do(1);
  50. if(%DURABILITY%!=%#cap7%);
  51. key(use);
  52. wait(150ms);
  53. endif;
  54. loop;
  55. wait(100ms);
  56. endif;
  57. gui(inventory);
  58. if(%BOOTSDURABILITY%<%#dura%);
  59. slotclick(8,l,false);
  60. wait(%#dd%ms);
  61. slotclick(41,l,false);
  62. wait(%#dd%ms)
  63. slotclick(8,l,false);
  64. wait(300ms);
  65. gui();
  66. slot(6);
  67. look(north);
  68. wait(200ms);
  69. do(1);
  70. if(%DURABILITY%!=%#bota%);
  71. key(use);
  72. wait(150ms);
  73. endif;
  74. loop;
  75. wait(100ms);
  76. endif;
  77. if(%CHESTPLATEDURABILITY%<%#dura%);
  78. slotclick(6,l,false);
  79. wait(%#dd%ms);
  80. slotclick(43,l,false);
  81. wait(%#dd%ms)
  82. slotclick(6,l,false);
  83. wait(300ms);
  84. gui();
  85. slot(8);
  86. look(north);
  87. wait(100ms);
  88. do(1);
  89. if(%DURABILITY%!=%#peito%);
  90. key(use);
  91. wait(150ms);
  92. endif;
  93. loop;
  94. wait(100ms);
  95. endif;
  96. if(%LEGGINGSDURABILITY%<%#dura%);
  97. slotclick(7,l,false);
  98. wait(%#dd%ms);
  99. slotclick(42,l,false);
  100. wait(%#dd%ms);
  101. slotclick(7,l,false);
  102. wait(300ms);
  103. gui();
  104. slot(7);
  105. look(north);
  106. wait(100ms);
  107. do(1);
  108. if(%DURABILITY%!=%#calca%);
  109. key(use);
  110. wait(150ms);
  111. endif;
  112. loop;
  113. wait(100ms);
  114. endif;
  115. gui(inventory);
  116. wait(1);
  117. getslotitem(35,#iron);
  118. if(%#iron%=0);
  119. keydown(forward);wait(1);keyup(forward);
  120. look(west);
  121. wait(300ms);
  122. key(use);
  123. wait(3);
  124. getslotitem(53,#off);
  125. if(%#off%=0);
  126. log("&6[&f%PLAYER%&6] &aAcabou o material! &c&l[OFF]");gui();unset(repset);stop;
  127. endif;
  128. for(#id,0,53);
  129. getslotitem(%#id%,#id2,#stack);
  130. if(%#id2%=%#mat2%);
  131. slotclick(%#id%,l,false);
  132. wait(100ms);
  133. slotclick(80,l,false);wait(100ms);
  134. for(#id,0,53)
  135. getslotitem(%#id%,#id2,#stack);
  136. if(%#id2%=%#mat2%);
  137. slotclick(%#id%,l,false);
  138. wait(100ms);
  139. slotclick(79,l,false);wait(100ms);
  140. for(#id,0,53)
  141. getslotitem(%#id%,#id2,#stack);
  142. if(%#id2%=%#mat2%);
  143. slotclick(%#id%,l,false);
  144. wait(100ms);
  145. slotclick(78,l,false);wait(100ms);
  146. wait(1);
  147. gui();
  148. endif;next;
  149. endif;next;
  150. endif;next;
  151. wait(200ms);look(south);wait(200ms);
  152. keydown(forward);wait(1);keyup(forward);
  153. wait(300ms);look(north);
  154. endif;
  155. if(KEY_P);
  156. keydown(forward);wait(1);keyup(forward);
  157. log("&6[&f%PLAYER%&6] &aFinalizando UP de reparaçao! &c&l[OFF]");
  158. unset(repset);gui();stop;
  159. endif;
  160. loop;
  161. endif;
  162. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement