Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- &home_lixo="/home lixo";
- &home_pesq="/home pesca";
- &nao_dropar="written_book|enchanted_book|Diamond_Sword";
- if(@pesca);
- log(&6&l[Macro] &fPesca autonoma do torabas &4&l[OFF]);
- unset(@pesca);
- stop();
- else;
- log(&6&l[Macro] &fPesca autonoma do torabas &2&l[ON]);
- set(@pesca);
- endif;
- do;
- #x=%XPOS%;#z=%ZPOS%;
- do(3);
- echo(%&home_lixo%);
- do(15);
- wait(300ms);
- If((%XPOS%!=%#x%)||(%ZPOS%!=%#z%));
- break;
- endif;
- loop;
- If((%XPOS%!=%#x%)||(%ZPOS%!=%#z%));
- wait(1000ms);
- break;
- endif;
- loop;
- do(2);
- Getidrel(0,-1,0,&chao);
- If(&chao != "air"); break; endif;
- wait(500ms);
- loop;
- look(0,20);
- wait(300ms);
- unsafe(0);
- gui(inventory);
- for(#i,9,35);
- GETSLOTITEM(%#i%,&item);
- ifmatches(%&item%,%&nao_dropar%);
- else;
- SLOTCLICK(%#i%);
- SLOTCLICK(-999);
- endif;
- next;
- Gui();
- endunsafe;
- #x=%XPOS%;#z=%ZPOS%;
- do(3);
- echo(%&home_pesq%);
- do(15);
- wait(300ms);
- If((%XPOS%!=%#x%)||(%ZPOS%!=%#z%));
- break;
- endif;
- loop;
- If((%XPOS%!=%#x%)||(%ZPOS%!=%#z%));
- wait(1000ms);
- break;
- endif;
- loop;
- wait(400ms);
- wait(1000ms);
- Key(use);
- wait(500); /// acredito que o delay de limpeza seja isso aqui;
- loop;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement