Bem tentei editar aqui,mais acho que não vai ;(
CÓDIGO:
$${
if(sword1);
log("&4[Macro] &6Matar mobs desativado.");
unset(sword1);
stop();
else;
log("&f[Macro] &6Matar mobs ativado.");
set(sword1);
&dir = %DIRECTION%;
#bau=1;
set(nf);
ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;
do;
pick(276);
if(%DURABILITY%<300);
look(0,90);
log("&4[Macro] &6 Durabilidade baixa, reparando...");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Macro] &6 Espada reparada!");
endif;
do(50);
look(%&dir%);
look(,-15);
wait(200ms);
key(attack);
loop;
if(nf);
wait(1);
gui(inventory);
wait(1);
LOOK(+180,);
FOR(#u,9,44);
GETSLOTITEM(%#u%,#idu,#stacku);
IF(%#idu%=283);
SLOTCLICK(%#u%);
SLOTCLICK(-999);
ENDIF;
NEXT;
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$
$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$
$${if(%#bau%=21);}$$
/home bau21
$${endif;}$$
$${if(%#bau%=22);}$$
/home bau22
$${endif;}$$
$${if(%#bau%=23);}$$
/home bau23
$${endif;}$$
$${if(%#bau%=24);}$$
/home bau24
$${endif;}$$
$${if(%#bau%=25);}$$
/home bau25
$${endif;}$$
$${if(%#bau%=26);}$$
/home bau26
$${endif;}$$
$${if(%#bau%=27);}$$
/home bau27
$${endif;}$$
$${if(%#bau%=28);}$$
/home bau28
$${endif;}$$
$${if(%#bau%=28);}$$
/home bau29
$${endif;}$$
$${if(%#bau%=29);}$$
/home bau29
$${endif;}$$
$${if(%#bau%=30);}$$
/home bau30
$${endif;}$$
$${if(%#bau%=31);}$$
/home bau31
$${endif;}$$
$${if(%#bau%=32);}$$
/home bau32
$${endif;}$$
$${if(%#bau%=33);}$$
/home bau33
$${endif;}$$
$${if(%#bau%=34);}$$
/home bau34
$${endif;}$$
$${endif;}$$
$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=387);
inc(#bau);
endif;
if(%#bau%=34);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mobde4
$${endif;
endif;
loop;
endif;
}$$