$${
toggle(potz);
if(potz);
log(&d» &6Criador de POTs automático &c[OFF]);
stop();
else;
log(&d» &6Criador de POTs automático &a[ON]);
#bau=1;
prompt(#qtd,$$?,Quantos baús simples de pot deseja fazer?);
prompt(#tipo,$$?,Qual pot deseja fazer?(1=Rege / 2=Fogo / 3=Velo / 4=Força / =5=Vida ));
prompt(#tipo2,$$?,Deseja aumentar o tempo (1) ou a potência (2)?);
prompt(#lag,$$?,Escolha o delay (Aconselhado: Server pouco lag -> 2 / Muito lag -> 6));
if(%#qtd%>54);
log(&d» &6Quantidade maior que a máxima permitida!);
stop();
elseif(%#qtd%<1);
log(&d» &6Quantidade inválida!);
stop();
endif;
if(%#tipo%>5);
log(&d» &6Tipo de POT inválido!);
stop();
elseif(%#tipo%<1);
log(&d» &6Tipo de POT inválido!);
stop();
endif;
if(%#tipo2%>2);
log(&d» &6Tipo de "buff" da POT inválido!);
stop();
elseif(%#tipo2%<1);
log(&d» &6Tipo de "buff" da POT inválido!);
stop();
endif;
if(%#lag%<=1);
log(&d» &6Delay escolhido muito baixo! O macro irá bugar!);
stop();
endif;
do(%#qtd%);
}$$/home frasco$${
wait(5);
key(use);
wait(2000ms);
getslot(374,#frasco);
slotclick(%#frasco%,l,true);
wait(501ms);
gui();
wait(501ms);
}$$/home agua$${
slot(9);
wait(5);
do(35);
key(use);
wait(250ms);
loop;
}$$/home pot1$${
wait(5);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(4,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(5,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(6,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(7,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(8,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(9,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(10,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(11,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(12,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(13,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(14,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(15,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(16,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(17,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(18,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(19,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(20,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(21,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(31,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(32,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(33,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(34,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(35,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(36,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,90);wait(507ms);key(use);wait(%#lag%);slotclick(37,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(38,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(39,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(0,90);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
if(%#tipo%=1);}$$/home potrege$${
elseif(%#tipo%=2);}$$/home potfogo$${
elseif(%#tipo%=3);}$$/home potvelo$${
elseif(%#tipo%=4);}$$/home potforca$${
elseif(%#tipo%=5);}$$/home potvida$${
endif;
wait(5);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(13,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(14,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(15,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(16,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(17,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(18,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(19,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(20,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(21,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(22,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(23,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(24,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
ook(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(25,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(26,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(27,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(28,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(29,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(30,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(31,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(32,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(33,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(34,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(35,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(36,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,90);wait(507ms);key(use);wait(%#lag%);slotclick(37,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(38,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(39,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(0,90);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
if(%#tipo2%=1);
}$$/home pot2$${
elseif(%#tipo2%=2);
}$$/home pot3$${
endif;
wait(5);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(13,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(14,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(15,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(16,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(17,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(18,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(19,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(20,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(21,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(22,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(23,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(24,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(25,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(26,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(27,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(28,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(29,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(30,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(31,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(32,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(33,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(34,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(35,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(36,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(,90);wait(507ms);key(use);wait(%#lag%);slotclick(37,l);wait(303ms);slotclick(0,l);wait(303ms);slotclick(38,l);wait(303ms);slotclick(1,l);wait(303ms);slotclick(39,l);wait(303ms);slotclick(2,l);wait(303ms);gui();wait(501ms);
look(north);look(-45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(45,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(90,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(135,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(-180,60);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
look(north);look(0,90);wait(507ms);key(use);wait(%#lag%);slotclick(0,l,true);wait(303ms);slotclick(1,l,true);wait(303ms);slotclick(2,l,true);wait(303ms);gui();wait(501ms);
do;
wait(1000ms);}$$
$${if(%#bau%=1);}$$/home baupot1$${endif;}$$
$${if(%#bau%=2);}$$/home baupot2$${endif;}$$
$${if(%#bau%=3);}$$/home baupot3$${endif;}$$
$${if(%#bau%=4);}$$/home baupot4$${endif;}$$
$${if(%#bau%=5);}$$/home baupot5$${endif;}$$
$${if(%#bau%=6);}$$/home baupot6$${endif;}$$
$${if(%#bau%=7);}$$/home baupot7$${endif;}$$
$${if(%#bau%=8);}$$/home baupot8$${endif;}$$
$${if(%#bau%=9);}$$/home baupot9$${endif;}$$
$${if(%#bau%=10);}$$/home baupot10$${endif;}$$
$${if(%#bau%=11);}$$/home baupot11$${endif;}$$
$${if(%#bau%=12);}$$/home baupot12$${endif;}$$
$${if(%#bau%=13);}$$/home baupot13$${endif;}$$
$${if(%#bau%=14);}$$/home baupot14$${endif;}$$
$${if(%#bau%=15);}$$/home baupot15$${endif;}$$
$${if(%#bau%=16);}$$/home baupot16$${endif;}$$
$${if(%#bau%=17);}$$/home baupot17$${endif;}$$
$${if(%#bau%=18);}$$/home baupot18$${endif;}$$
$${if(%#bau%=19);}$$/home baupot19$${endif;}$$
$${if(%#bau%=20);}$$/home baupot20$${endif;}$$
$${if(%#bau%=21);}$$/home baupot21$${endif;}$$
$${if(%#bau%=22);}$$/home baupot22$${endif;}$$
$${if(%#bau%=23);}$$/home baupot23$${endif;}$$
$${if(%#bau%=24);}$$/home baupot24$${endif;}$$
$${if(%#bau%=25);}$$/home baupot25$${endif;}$$
$${if(%#bau%=26);}$$/home baupot26$${endif;}$$
$${if(%#bau%=27);}$$/home baupot27$${endif;}$$
$${wait(5);key(use);wait(3);for(#i,54,89);slotclick(%#i%,l,true);wait(30ms);next;
wait(502ms);getslotitem(53,#id,#stack);wait(502ms);if(%#stack%!=0);inc(#bau);endif;
if(%#bau%=27);stop();gui();else;gui();endif;until(%#stack%=0);
loop;
endif;
}$$