Olá amigos, tenho um mob de magma e consegui um macro aqui no
forum, mas o macro tá faltando uma coisa, ao invés de colocar tudo no /home bau1
eu queria que o macro vendesse tudo na plaquinha de alguma /home...
Macro:
$${
if(fishing rod1);
log("&4[Macro] &6Matar magma desativado.");
unset(fishing rod1);
stop();
else;
log("&4[Macro] &6Matar magma ativado.");
set(fishing rod1);
&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%<35);
look(0,90);
log("&4[Macro] &6 Durabilidade baixa, reparando...");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
$${log("&4[Macro] &6 vara reparada!");
endif;
do(15);
look(%&dir%);
look(,-20);
wait(100ms);
key(use);
loop;
if(nf);
wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$
$${if(%#bau%=1);}$$
/home bau1
$${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%!=0);
inc(#bau);
endif;
if(%#bau%=14);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home magma
$${endif;
endif;
loop;
endif;
}$$
Obs::. no macro eu to upando com habilidade Shake, esqueci de avisar...