reive123

Untitled

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