Advertisement
Guest User

Untitled

a guest
May 31st, 2019
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. $${
  2. if(britadeira);
  3. unset(britadeira);
  4. echo("/g &6Britadeira &fBy @NaziJew &3desligada &3%#exp%XP adquirido &5hehe xd");
  5. log( );
  6. log( );
  7. log("&6&lBritadeira &fBy NaziJew &4>>OFF<< &2%#exp%XP adquirido &5hehe xD");
  8. log( );
  9. log( );
  10. unset(@britadeira);
  11. stop();
  12. else;
  13. set(britadeira);
  14. unset(@britadeira2);
  15. echo("/g &6Britadeira &fBy @NaziJew &3ligada &5hehe xd");
  16. log( );
  17. log( );
  18. log("&6&lBritadeira &fBy NaziJew &3>>ON<< &5hehe xD");
  19. log( );
  20. log( );
  21. set(@britadeira);
  22. IFMATCHES(%DIRECTION%,N);
  23. &olhando = NORTH;
  24. ENDIF;
  25. IFMATCHES(%DIRECTION%,S);
  26. &olhando = SOUTH;
  27. ENDIF;
  28. IFMATCHES(%DIRECTION%,W);
  29. &olhando = WEST;
  30. ENDIF;
  31. IFMATCHES(%DIRECTION%,E);
  32. &olhando = EAST;
  33. ENDIF;
  34. #exp = 0;
  35. PROMPT(#terrinha,$$i, Selecione o bloco usado para cavar -- Dirt=3 Sand=12 Gravel=13 SoulSand=88);
  36. PROMPT(#delay,$$?, Selecione o delay - 0 é o menor possivel, indo até o infinito);
  37. endif;
  38. endif;
  39. #reparando=0;
  40. else;
  41. look(%&olhando%);
  42. look(,50);
  43. set(britadeira2);
  44. set(@britadeira2);
  45. do;
  46. do(500);
  47. pick(%#terrinha%);
  48. key(use);
  49. if(%#delay% > 0);
  50. wait(%#delay%ms);
  51. endif;
  52. if(%#delay% <= 0);
  53. wait(1t);
  54. endif;
  55. pick(277);
  56. if(%DURABILITY%<200);
  57. gui(inventory);
  58. for(#i,9,45);
  59. getslotitem(%#i%,#id,#stack1);
  60. if(%#id%=264);
  61. #reparando=%#reparando%+%#stack1%;
  62. endif;
  63. next;
  64. wait(1);
  65. gui();
  66. if(%#reparando%=0);
  67. log( );
  68. log( );
  69. log("&6&lBritadeira &fBy NaziJew &2%#exp%XP adquirido &5hehe xD &cSeu item de reparação acabou ou sua internet caiu");
  70. log( );
  71. log( );
  72. else(%#reparando%>0%);
  73. #reparando=0;
  74. look(%&olhando%);
  75. look(,90);
  76. key(use);
  77. echo(/reparar);
  78. wait(1);
  79. key(use);
  80. wait(1);
  81. key(use);
  82. #reparando=0;
  83. endif;endif;
  84. endif;
  85. look(%&olhando%);
  86. look(,50);
  87. if(%#delay% > 0);
  88. do(%#delay%);
  89. key(attack);
  90. loop;
  91. endif;
  92. if(%#delay% <= 0);
  93. key(attack);
  94. endif;
  95. inc(#exp, 20);
  96. loop;
  97. if(@britadeira2);
  98. gui(inventory);
  99. wait(50ms);
  100. gui();
  101. wait(50ms);
  102. gui(inventory);
  103. for(#slotn2,23,33);
  104. GETSLOTITEM(%#slotn2%,#id2,#stack2);
  105. if(%#id2%=0);
  106. slotclick(%#slotn2%,l,false);
  107. wait(10ms);
  108. slotclick(%#slotn2%,l,false);
  109. wait(5ms);
  110. endif;
  111. next;
  112. next;
  113. wait(50ms);
  114. getslotitem(30,#id,#stack);
  115. wait(50ms);
  116. if(%#id%=0);
  117. gui();
  118. else;
  119. do;
  120. wait(100ms);
  121. look(SOUTH);
  122. wait(100ms);
  123. for(#slotn,9,35);
  124. GETSLOTITEM(%#slotn%,#id,#stack);
  125. if((%#id%=277) || (%#id%=%#terrinha%) || (%#id%=387) || (%#id%=0) || (%#id%=264));
  126. else;
  127. slotclick(%#slotn%,l,false);
  128. slotclick(-999,l,false);
  129. wait(30ms);
  130. endif;
  131. next;
  132. wait(100ms);
  133. for(#slotn,9,35);
  134. GETSLOTITEM(%#slotn%,#id,#stack);
  135. if((%#id%=277) || (%#id%=%#terrinha%) || (%#id%=387) || (%#id%=0) || (%#id%=264));
  136. else;
  137. slotclick(%#slotn%,l,false);
  138. slotclick(-999,l,false);
  139. wait(10ms);
  140. endif;
  141. next;
  142. wait(300ms);
  143. endif;
  144. gui();
  145. until(%#stack%=0);
  146. wait(1);
  147. endif;
  148. endif;
  149. gui(inventory);
  150. wait(600ms);
  151. for(#slot,9,35);
  152. GETSLOTITEM(%#slot%,#id,#stack);
  153. if((%#id%=277) || (%#id%=%#terrinha%));
  154. slotclick(%#slot%,l,true);wait(30ms);
  155. endif;
  156. next;
  157. gui();
  158. loop;
  159. endif;
  160. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement