Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- if(autotroca);
- log("&4[Macro]&bTroca de armadura desligada");
- log("&4[Macro]&2Editado por &fRoogrote - REGION 2.0.");
- unset(autotroca);
- stop;
- else;
- log("&bTroca de armadura Ligado");
- log("&4[Macro]&2Editado por &fRoogrote - REGION 2.0.");
- set(autotroca);
- #itemcapa=9;
- #itempeito=14;
- #itemcalca=19;
- #itembota=24;
- #troca1=0; #troca2=0; #troca3=0; #troca4=0;
- do();
- //trocando capacete.
- if(%#troca1%=0);
- if(%HELMDURABILITY%<40);
- gui(inventory);
- wait(150ms);
- do(3);
- if(%HELMDURABILITY%<40);
- slotclick(36);
- wait(150ms);
- slotclick(5);
- wait(150ms);
- slotclick(36);
- wait(150ms);
- gui;
- endif;
- loop;
- endif;
- else;
- endif;
- // trocando peitoral.
- if(%#troca2%=0);
- if(%CHESTPLATEDURABILITY%<40);
- gui(inventory);
- wait(150ms);
- do(3);
- if(%CHESTPLATEDURABILITY%<40);
- wait(150ms);
- slotclick(37);
- wait(150ms);
- slotclick(6);
- wait(150ms);
- slotclick(37);
- wait(150ms);
- gui;
- if(%#itempeito%=19);
- endif;
- endif;
- loop;
- endif;
- else;
- endif;
- // trocando calça.
- if(%#troca3%=0);
- if(%LEGGINGSDURABILITY%<40);
- gui(inventory);
- wait(150ms);
- do(3);
- if(%LEGGINGSDURABILITY%<40);
- wait(150ms);
- slotclick(38);
- wait(150ms);
- slotclick(7);
- wait(150ms);
- slotclick(38);
- wait(150ms);
- gui;
- if(%#itemcalca%=24); endif;
- endif;
- loop;
- endif;
- else;
- endif;
- // trocando botas.
- if(%#troca4%=0);
- if(%BOOTSDURABILITY%<40);
- gui(inventory);
- wait(150ms);
- do(3);
- if(%BOOTSDURABILITY%<40);
- wait(150ms);
- slotclick(39);
- wait(150ms);
- slotclick(8);
- wait(150ms);
- slotclick(39);
- wait(150ms);
- gui;
- if(%#itembota%=29); endif;
- endif;
- loop;
- endif;
- else;
- endif;
- loop;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement