Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. $${
  2. if(autotroca);
  3. log("&4[Macro]&bTroca de armadura desligada");
  4. log("&4[Macro]&2Editado por &fRoogrote - REGION 2.0.");
  5. unset(autotroca);
  6. stop;
  7. else;
  8. log("&bTroca de armadura Ligado");
  9. log("&4[Macro]&2Editado por &fRoogrote - REGION 2.0.");
  10. set(autotroca);
  11. #itemcapa=9;
  12. #itempeito=14;
  13. #itemcalca=19;
  14. #itembota=24;
  15. #troca1=0; #troca2=0; #troca3=0; #troca4=0;
  16. do();
  17. //trocando capacete.
  18. if(%#troca1%=0);
  19. if(%HELMDURABILITY%<40);
  20. gui(inventory);
  21. wait(150ms);
  22. do(3);
  23. if(%HELMDURABILITY%<40);
  24. slotclick(36);
  25. wait(150ms);
  26. slotclick(5);
  27. wait(150ms);
  28. slotclick(36);
  29. wait(150ms);
  30. gui;
  31. endif;
  32.  
  33. loop;
  34.  
  35.  
  36.  
  37. endif;
  38. else;
  39.  
  40. endif;
  41.  
  42. // trocando peitoral.
  43. if(%#troca2%=0);
  44. if(%CHESTPLATEDURABILITY%<40);
  45. gui(inventory);
  46. wait(150ms);
  47. do(3);
  48. if(%CHESTPLATEDURABILITY%<40);
  49. wait(150ms);
  50. slotclick(37);
  51. wait(150ms);
  52. slotclick(6);
  53. wait(150ms);
  54. slotclick(37);
  55. wait(150ms);
  56. gui;
  57. if(%#itempeito%=19);
  58. endif;
  59. endif;
  60. loop;
  61.  
  62. endif;
  63. else;
  64.  
  65. endif;
  66. // trocando calça.
  67. if(%#troca3%=0);
  68. if(%LEGGINGSDURABILITY%<40);
  69. gui(inventory);
  70. wait(150ms);
  71.  
  72. do(3);
  73. if(%LEGGINGSDURABILITY%<40);
  74. wait(150ms);
  75. slotclick(38);
  76. wait(150ms);
  77. slotclick(7);
  78. wait(150ms);
  79. slotclick(38);
  80. wait(150ms);
  81. gui;
  82. if(%#itemcalca%=24); endif;
  83. endif;
  84. loop;
  85.  
  86.  
  87. endif;
  88. else;
  89. endif;
  90.  
  91.  
  92. // trocando botas.
  93. if(%#troca4%=0);
  94. if(%BOOTSDURABILITY%<40);
  95. gui(inventory);
  96. wait(150ms);
  97. do(3);
  98. if(%BOOTSDURABILITY%<40);
  99. wait(150ms);
  100. slotclick(39);
  101. wait(150ms);
  102. slotclick(8);
  103. wait(150ms);
  104. slotclick(39);
  105. wait(150ms);
  106. gui;
  107. if(%#itembota%=29); endif;
  108. endif;
  109. loop;
  110.  
  111. endif;
  112. else;
  113. endif;
  114.  
  115. loop;
  116. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement