Alguem poderia colocar nessa macro que quando ela termina de vender os peixes e etc, que ela volte pro primeiro bau e retorne a vender sem eu ter que ativar. Pra ficar um looping sem fim
$${
if(vdn);
log("&fAuto Seller &c[&4OFF&c]&l&6#Edit
IRT");
unset(vdn);
stop;
else;
log("&fAuto Seller &a[&2ON&a]6#Edit
IRT");
set(vdn);
clearchat;
log(" &l&cATENÇAO !!!");
log("&l&cNAO UTILIZAR A MACRO SE ESTIVER COM LAG");
log("&2&l[&21&l]&6&l AutoVenda de &l&4Fungo");
log("&2&l[&22&l]&6&l AutoVenda de &l&3Peixe");
log("&2&l[&23&l]&6&l AutoVenda de &l&6Blaze");
log("&2&l[&24&l]&6&l AutoVenda de &l&fOsso");
log("&2&l[&25&l]&6&l AutoVenda de &l&cCarne Podre");
log("&2&l[&26&l]&6&l AutoVenda de &l&9Bolsa de Lula");
log("");
log("");
prompt(#produto,$$?,"O que você deseja vender?");
if(%#produto%!=1);
if(%#produto%!=2);
if(%#produto%!=3);
if(%#produto%!=4);
if(%#produto%!=5);
if(%#produto%!=6);
log("&fAuto Seller &c[&4OFF&c] &a[Opção de escolha inválida.]");
unset(vdn);
stop;
endif;
endif;
endif;
endif;
endif;
if(%#produto%=1);
prompt(#baut,$$?,"Quantos baús de fungo você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=2);
prompt(#baut,$$?,"Quantos baús de peixe você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=3);
prompt(#baut,$$?,"Quantos baús de blaze você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=4);
prompt(#baut,$$?,"Quantos baús de osso você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=5);
prompt(#baut,$$?,"Quantos baús de carne podre você deseja vender? DIGITE APENAS NÚMEROS");
endif;
prompt(#baui,$$?,"Por qual baú deseja comecar a venda? DIGITE APENAS NÚMEROS");
if(%#produto%=6);
prompt(#baut,$$?,"Quantos baús de bolsas de lula você deseja vender? DIGITE APENAS NÚMEROS");
endif;
wait(500ms);
clearchat;
endif;
if(%#produto%=1);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home fungo%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=372);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui, 1);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderfungo$${wait(3);}$$/home venderfungo$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=2);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home peixe%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=349);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home peixe$${wait(3);}$$/home venderpeixe$${
echo("/menuloja off");
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=3);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home blaze%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=369);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderblaze$${wait(3);}$$/home venderblaze$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=4);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/ :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home osso%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=352);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderosso$${wait(3);}$$/home venderosso$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=5);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/ :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home carne%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=367);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home vendercpodre$${wait(3);}$$/home vendercpodre$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=5);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type( :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home carne%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=367);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home vendercpodre$${wait(3);}$$/home vendercpodre$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=6);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/g finalizando a autoseller | %#baui% baús de bolsas-lula vendidos :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home lula%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=351);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderlula$${wait(3);}$$/home venderlula$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
}$$
$${
if(vdn);
log("&fAuto Seller &c[&4OFF&c]&l&6#Edit

unset(vdn);
stop;
else;
log("&fAuto Seller &a[&2ON&a]6#Edit

set(vdn);
clearchat;
log(" &l&cATENÇAO !!!");
log("&l&cNAO UTILIZAR A MACRO SE ESTIVER COM LAG");
log("&2&l[&21&l]&6&l AutoVenda de &l&4Fungo");
log("&2&l[&22&l]&6&l AutoVenda de &l&3Peixe");
log("&2&l[&23&l]&6&l AutoVenda de &l&6Blaze");
log("&2&l[&24&l]&6&l AutoVenda de &l&fOsso");
log("&2&l[&25&l]&6&l AutoVenda de &l&cCarne Podre");
log("&2&l[&26&l]&6&l AutoVenda de &l&9Bolsa de Lula");
log("");
log("");
prompt(#produto,$$?,"O que você deseja vender?");
if(%#produto%!=1);
if(%#produto%!=2);
if(%#produto%!=3);
if(%#produto%!=4);
if(%#produto%!=5);
if(%#produto%!=6);
log("&fAuto Seller &c[&4OFF&c] &a[Opção de escolha inválida.]");
unset(vdn);
stop;
endif;
endif;
endif;
endif;
endif;
if(%#produto%=1);
prompt(#baut,$$?,"Quantos baús de fungo você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=2);
prompt(#baut,$$?,"Quantos baús de peixe você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=3);
prompt(#baut,$$?,"Quantos baús de blaze você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=4);
prompt(#baut,$$?,"Quantos baús de osso você deseja vender? DIGITE APENAS NÚMEROS");
endif;
if(%#produto%=5);
prompt(#baut,$$?,"Quantos baús de carne podre você deseja vender? DIGITE APENAS NÚMEROS");
endif;
prompt(#baui,$$?,"Por qual baú deseja comecar a venda? DIGITE APENAS NÚMEROS");
if(%#produto%=6);
prompt(#baut,$$?,"Quantos baús de bolsas de lula você deseja vender? DIGITE APENAS NÚMEROS");
endif;
wait(500ms);
clearchat;
endif;
if(%#produto%=1);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home fungo%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=372);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui, 1);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderfungo$${wait(3);}$$/home venderfungo$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=2);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home peixe%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=349);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home peixe$${wait(3);}$$/home venderpeixe$${
echo("/menuloja off");
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=3);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(a :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home blaze%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=369);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderblaze$${wait(3);}$$/home venderblaze$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=4);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/ :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home osso%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=352);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderosso$${wait(3);}$$/home venderosso$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=5);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/ :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home carne%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=367);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home vendercpodre$${wait(3);}$$/home vendercpodre$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=5);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type( :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home carne%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=367);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home vendercpodre$${wait(3);}$$/home vendercpodre$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
if(%#produto%=6);
do;
if(%#baui%>%#baut%);
gui(chat);
wait(1);
type(/g finalizando a autoseller | %#baui% baús de bolsas-lula vendidos :]);
wait(2);
press(return);
log("&fAuto Seller &c[&4OFF&c] &a[Acabaram os baús ^-^.]");
}$$/home$${
unset(vdn);
stop;
endif;
do;
gui(chat);
wait(300ms);
type(/home lula%#baui%);
wait(300ms);
press(return);
wait(3);
key(use);
wait(1);
for(#i,0,53);
getslotitem(%#i%,#id,#stack);
if(%#id%=351);
slotclick(%#i%,l,true);
wait(30ms);
endif;
next;
getslotitem(54,#id,#stack);
if(%#stack%=0);
INC(#baui);
if(%#baui%>%#baut%);
break;
endif;
endif;
wait(1);
until(%#stack%!=0);
}$$/home venderlula$${wait(3);}$$/home venderlula$${
wait(4);
echo("/menuloja off");
wait(300ms);
echo("/esconder);
wait(1);
key(ATTACK);
loop;
loop;
endif;
}$$