olá pessoal bom eu queria pedir ajuda será que alguem poderia me ajudar com esse macro de fazer poçao tipo ele faz todas as poçoes certinho mas na hora de guardar ele da /home pot1 e abre os bau e nao quarda as poçao alguem me ajuda ? queria que quardase as poçao
$${
if(x);
log(&d» &aTrabalho Encerrado);
unset(x);
stop;
else;
log(&d» &eIniciando o Trabalho);
set(x);
&phoda=s;
#lao=2;
getslotitem(9,#cx,#cv);if(%#cv%!=64);
log(&fVoce precisa colocar 64 &epotes &fno slot 9.);
log(&fVoce precisa colocar seu macro no &eEDIT FILES.);stop;endif;
getslotitem(8,#ca,#cb);if(%#cb%!=64);
log(&fVoce precisa colocar 64 &4fungos &fno slot 9.);
log(&fVoce precisa colocar seu macro no &eEDIT FILES.);stop;endif;
prompt(#pr,$$?,Quantos BAUS DUPLOS ira usar? MÁXIMO=4);
prompt(#ig,$$?,Quantos Ingredientes ira usar?);
#mesa=0;#fn=0;#ot=0;#iggg=2;#first=3;#pb=0;#pc=0;#pd=0;
#ult=6;#pe=0;#pf=0;#za=0;#zb=0;#zc=0;#zd=0;#conta=0;
#guardar=0;#home=1;#slot=0;
log(&ePhodalao &f%&phoda%&4%#lao%);
do;
if(%#zd%=1);inc(#zd,1);endif;
if(%#zc%=1);inc(#zc,1);endif;
if(%#zb%=1);inc(#zb,1);endif;
if(%#za%=1);inc(#za,1);endif;
if(%#pe%=1);inc(#pe,1);endif;
if(%#pd%=1);inc(#pd,1);inc(#pc,1);endif;
if(%#pb%=1);inc(#iggg,1);endif;
if(%#ot%=1);inc(#mesa,1);inc(#ot,1);inc(#fn,1);
wait(100ms);endif;
if(%#mesa%=1);look(0,58);endif;
if(%#mesa%=2);look(90,58);endif;
if(%#mesa%=3);look(180,58);endif;
if(%#mesa%=4);look(270,58);endif;
if(%#mesa%=5);look(0,26);endif;
if(%#mesa%=6);look(90,26);endif;
if(%#mesa%=7);look(180,26);endif;
if(%#mesa%=8);look(270,26);endif;
if(%#mesa%=9);look(,-90);endif;
if(%#guardar%=1);wait(100ms);
key(use);wait(2900ms);for(#i,0,3);wait(120ms);slotclick(%#i%,l,true);next;
gui;inc(#mesa,1);wait(200ms);
if(%#mesa%=10);
dec(#mesa,10);dec(#fn,%#fn%);dec(#ot,%#ot%);dec(#iggg,%#iggg%);
inc(#iggg,2);dec(#first,%#first%);inc(#first,3);dec(#pb,%#pb%);dec(#pc,%#pc%);
dec(#pd,%#pd%);dec(#ult,%#ult%);inc(#ult,6);dec(#pe,%#pe%);
dec(#pf,%#pf%);dec(#za,%#za%);dec(#zb,%#zb%);dec(#zc,%#zc%);dec(#zd,%#zd%);
dec(#conta,%#conta%);
do;
wait(1);
if(%#home%=1);}$$/home pot1$${endif;if(%#home%=2);}$$/home pot2$${endif;
if(%#home%=3);}$$/home pot3$${endif;if(%#home%=4);}$$/home pot4$${endif;
wait(5);key(use);wait(3);for(#k,54,80);wait(70ms);slotclick(%#k%,l,true);next;
wait(100ms);getslotitem(53,#i,#s);if(%#s%!=0);inc(#home,1);endif;
if(%#bau%=4);getslotitem(23,#n,#num);
if(%#num%!=0);log(&d» &fTrabalho Encerrado!);stop;endif;
endif;
gui;
gui;wait(500ms);
if(%#home%>%#pr%);log(&d» &fTrabalho Encerrado!);stop;endif;
until(%#s%=0);
}$$/home pot$${dec(#guardar,%#guardar%);wait(5);
look(,90);wait(200ms);key(use);wait(3);slotclick(%#slot%,l,true);wait(1);
slotclick(53,l,true);wait(300ms);gui;inc(#slot,1);
endif;endif;
if(%#conta%=%#ig%);inc(#guardar,1);inc(#conta,50);endif;
if(%#fn%=0);slot(9);look(134,56);wait(50ms);do;key(use);wait(60ms);
getslotitem(9,#id,#stack);until(%#stack%<44);
wait(500ms);inc(#ot,1);inc(#pc,1);wait(100ms);
gui(inventory);wait(500ms);getslotitem(35,#item,#qt);
if(%qt%=0);look(134,56);do;wait(1);key(use);wait(200ms);getslotitem(35,#item,#qt);
until(%#qt%!=0);endif;endif;
if((%#fn%=1)&&(%#pc%=1));
wait(300ms);key(use);wait(2900ms);
for(#v,%#first%,%#ult%);slotclick(%#v%,l,true);wait(400ms);next;
inc(#mesa,1);inc(#first,3);inc(#ult,3);wait(100ms);gui;wait(300ms);
if(%#mesa%=10);inc(#fn,1);dec(#mesa,9);dec(#first,%#first%);
inc(#first,4);dec(#ult,%#ult%);inc(#ult,6);inc(#pe,1);gui;
log(&4 &fLimpando Inventário...);look(south);look(135,-20);wait(2);gui(inventory);
wait(200ms);for(#h,9,35);
slotclick(%#h%);slotclick(-999);wait(45ms);next;wait(200ms);gui;}$$/clear$${
endif;endif;
if((%#fn%=2)&&(%#pe%=2));wait(400ms);key(use);wait(2900ms);
slotclick(38,l,false);wait(200ms);
slotclick(38,r,false);wait(200ms);
slotclick(38,l,true);wait(200ms);
slotclick(38,l,false);inc(#mesa,1);wait(300ms);gui;wait(100ms);
if(%#mesa%=10);inc(#fn,1);dec(#mesa,9);inc(#pb,1);inc(#fn,1);
inc(#za,1);log(&4» &fAguardando Fungos...);wait(5);endif;
endif;
if((%#ig%>0)&&(%#iggg%>2)&&(%#za%=2));
wait(400ms);key(use);wait(2900ms);
slotclick(31,l,false);wait(200ms);
slotclick(31,r,false);wait(200ms);
slotclick(31,l,true);wait(200ms);
slotclick(31,l,false);inc(#mesa,1);wait(300ms);gui;wait(100ms);
if(%#mesa%=10);dec(#mesa,9);inc(#iggg,1);inc(#za,1);inc(#zb,1);
log(&4» &fAguardando Pocoes...);wait(2);inc(#conta,1);
log(&4 &fLimpando Inventário...);look(south);look(135,-20);wait(2);gui(inventory);
wait(200ms);for(#h,9,35);
slotclick(%#h%);slotclick(-999);wait(45ms);next;wait(200ms);gui;
endif;
endif;
if((%#ig%>1)&&(%#iggg%>3)&&(%#zb%=2));
wait(400ms);key(use);wait(2900ms);
slotclick(32,l,false);wait(200ms);
slotclick(32,r,false);wait(200ms);
slotclick(32,l,true);wait(200ms);
slotclick(32,l,false);inc(#mesa,1);wait(300ms);gui;wait(100ms);
if(%#mesa%=10);dec(#mesa,9);inc(#iggg,1);inc(#zb,1);inc(#zc,1);
log(&4» &fAguardando Pocoes...);wait(5);inc(#conta,1);endif;
endif;
if((%#ig%>2)&&(%#iggg%>4)&&(%#zc%=2));
wait(400ms);key(use);wait(2900ms);
slotclick(33,l,false);wait(200ms);
slotclick(33,r,false);wait(200ms);
slotclick(33,l,true);wait(200ms);
slotclick(33,l,false);inc(#mesa,1);wait(300ms);gui;wait(100ms);
if(%#mesa%=10);dec(#mesa,9);inc(#iggg,1);inc(#zc,1);inc(#zd,1);
log(&4» &fAguardando Pocoes...);wait(5);inc(#conta,1);endif;
endif;
if((%#ig%>3)&&(%#iggg%>5)&&(%#zd%=2));
wait(400ms);key(use);wait(2900ms);
slotclick(34,l,false);wait(200ms);
slotclick(34,r,false);wait(200ms);
slotclick(34,l,true);wait(200ms);
slotclick(34,l,false);inc(#mesa,1);wait(300ms);gui;wait(100ms);
if(%#mesa%=10);dec(#mesa,9);inc(#ggg,1);inc(#zd,1);
log(&4» &fAguardando Pocoes...);wait(5);inc(#conta,1);endif;
endif;
endif;
loop;
}$$
Clique para expandir...