Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. $${if(sword1);
  2. log("&4[Macro] &6Matar mobs desativado.");
  3. unset(sword1);
  4. stop();
  5. else;
  6. log("&4[Macro] &6Matar mobs ativado.");
  7. set(sword1); &dir = %DIRECTION%;#bau=1;
  8. set(nf); ifmatches(%&dir%,N);&dir=NORTH;
  9. endif;ifmatches(%&dir%,S);&dir=SOUTH;
  10. endif;ifmatches(%&dir%,E);&dir=EAST;
  11. endif;ifmatches(%&dir%,W);&dir=WEST;
  12. endif; do;pick(272);
  13. if(%DURABILITY%<70);
  14. if(%#un%=9);log("&4[Macro] &6Matar mobs desativado.");
  15. unset(sword1);
  16. stop();
  17. endif;
  18. log("&4[Macro] &6 Durabilidade baixa, espada trocada...");
  19. look(0,90);
  20. inc(#un);
  21. inventoryup(1);
  22. wait(500ms);
  23. endif;
  24.  
  25. do(50);
  26. look(EAST);
  27. look(100,4);
  28. wait(200ms);
  29. key(attack);
  30. loop;
  31. if(nf);
  32.  
  33. wait(1);
  34. gui(inventory);
  35. wait(1);
  36. getslotitem(35,#id,#stack);
  37. if(%#stack%=0);
  38. gui();
  39. else;
  40. do;
  41. wait(1);}$$
  42. $${if(%#bau%=1);}$$/home vendalula$${endif;}$$
  43. $${
  44. wait(10);
  45. do(60);
  46. key(attack);
  47. wait(300ms);
  48. loop;
  49. }$$
  50. $${if(%#bau%=1);}$$/home vendalula2$${endif;}$$
  51. $${
  52. wait(10);
  53. do(80);
  54. key(attack);
  55. wait(300ms);
  56. loop;
  57. }$$
  58. $${wait(5);
  59. key(use);
  60. wait(1);
  61. for(#i,54,84);
  62. slotclick(%#i%,l,true);
  63. wait(30ms);
  64. next;
  65. wait(500ms);
  66. getslotitem(53,#id,#stack);
  67. wait(500ms);
  68. if(%#stack%!=0);
  69. inc(#bau);
  70. endif;
  71. if(%#bau%=14);
  72. unset(nf);
  73. log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
  74. gui();
  75. else;
  76. gui();
  77. endif;
  78. until(%#stack%=0);}$$/home lula$${
  79. endif;
  80. endif;loop;endif;}$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement