$${
if(homelessv3);
log("&a&l[Macro]&f PescaHomeless_v3.3 &1- [By: Homeless Macros] &f&l[&4&lOFF&f&l]");
unset(homelessv3);
stop();
else;
set(homelessv3);
log("&a&l[Macro]&f Macro Desenvolvida Por: &1&lHomeless &f(Sv.3-Craftlandia)");
achievementget(Homeless Macros,346);
}$$/pvp off$${
wait(700ms);
log("&a&l[Macro]&f PescaHomeless_v3.3 &1- [By: Homeless Macros] &f&l[&a&lON&f&l]");
#homeless_chest_string=1;
#homeless_full=0;
#homeless_string=0;
wait(100ms);
if(homeless_preset);
do;
clearchat();
log("&a&l[Macro]&e Deseja usar a ultima configuração da macro?");
log("&a&l[Macro]&2&l [1]&f Sim.");
log("&a&l[Macro]&2&l [2]&f Não.");
log(" ");
log(" ");
prompt(#homeless_inc,$$?,"Insira o número referente a opção desejada:");
until((%#homeless_inc%=1)||(%#homeless_inc%=2));
else;
#homeless_inc=2;
endif;
if(%#homeless_inc%=1);
else;
unset(homeless_preset);
#homeless_chest=1;
do;
clearchat();
log("&a&l[Macro]&e Pressione o número referente aos encantamentos deseja manter:");
log("&a&l[Macro]&2&l [1]&f Para guardar: P4/P3/Eff5/Eff4/Eff3/Sharp5/Sharp4/Sharp3/Loot3");
log("&a&l[Macro]&2&l [2]&f Para guardar: P4/Eff5/Sharp5/Sharp4");
log("&a&l[Macro]&2&l [3]&f Para guardar: P4/Eff5/Sharp5");
log("&a&l[Macro]&2&l [4]&f Para guardar: P4/Sharp5");
log(" ");
log(" ");
prompt(#homeless_sel_enc,$$?,"Insira o número referente a quais encantamentos deseja manter:");
until((%#homeless_sel_enc%=1)||(%#homeless_sel_enc%=2)||(%#homeless_sel_enc%=3)||(%#homeless_sel_enc%=4));
if(%#homeless_sel_enc%=1);
&p4=Protection IV;
&p3=Protection III;
&eff5=Efficiency V;
&eff4=Efficiency IV;
&eff3=Efficiency III;
&sharp5=Sharpness V;
&sharp4=Sharpness IV;
&sharp3=Sharpness III;
&loot3=Looting III;
endif;
if(%#homeless_sel_enc%=2);
&p4=Protection IV;
&p3=Nope;
&eff5=Efficiency V;
&eff4=Nope;
&eff3=Nope;
&sharp5=Sharpness V;
&sharp4=Sharpness IV;
&sharp3=Nope;
&loot3=Nope;
endif;
if(%#homeless_sel_enc%=3);
&p4=Protection IV;
&p3=Nope;
&eff5=Efficiency V;
&eff4=Nope;
&eff3=Nope;
&sharp5=Sharpness V;
&sharp4=Nope;
&sharp3=Nope;
&loot3=Nope;
endif;
if(%#homeless_sel_enc%=4);
&p4=Protection IV;
&p3=Nope;
&eff5=Nope;
&eff4=Nope;
&eff3=Nope;
&sharp5=Sharpness V;
&sharp4=Nope;
&sharp3=Nope;
&loot3=Nope;
endif;
þs1=Thorns I;
þs2=Thorns II;
þs3=Thorns III;
do;
clearchat();
log("&a&l[Macro]&e Deseja guardar itens com Thorns (Espinhos)?:");
log("&a&l[Macro]&2&l [1]&f Sim.");
log("&a&l[Macro]&2&l [2]&f Não, que nojo!");
log(" ");
log(" ");
prompt(#homeless_store_thorns,$$?,"Insira o número referente a opção desejada:");
until((%#homeless_store_thorns%=1)||(%#homeless_store_thorns%=2));
do;
clearchat();
log("&a&l[Macro]&e Deseja guardar Lapis Lazulli?:");
log("&a&l[Macro]&2&l [1]&f Sim.");
log("&a&l[Macro]&2&l [2]&f Não.");
log(" ");
log(" ");
prompt(#homeless_store_lapis,$$?,"Insira o número referente a opção desejada:");
until((%#homeless_store_lapis%=1)||(%#homeless_store_lapis%=2));
if(%#homeless_store_lapis%=1);
&trash="^298$|^299$|^300$|^301$|^268$|^269$|^270$|^271$|^290$|^272$|^273$|^274$|^275$|^291$|^306$|^307$|^308$|^309$|^267$|^256$|^257$|^258$|^292$|^314$|^315$|^316$|^317$|^283$|^284$|^285$|^286$|^294$|^293$|^2256$|^2257$|^2258$|^2259$|^2260$|^2261$|^2262$|^2263$|^2264$|^2265$|^2266$|^2267";
&store="^0$|^122$|^129$|^153$|^155$|^264$|^265$|^266$|^287$|^322$|^349$|^351$|^369$|^370$|^384$|^387$|^394";
endif;
if(%#homeless_store_lapis%=2);
&trash="^298$|^299$|^300$|^301$|^268$|^269$|^270$|^271$|^290$|^272$|^273$|^274$|^275$|^291$|^306$|^307$|^308$|^309$|^267$|^256$|^257$|^258$|^292$|^314$|^315$|^316$|^317$|^283$|^284$|^285$|^286$|^294$|^293$|^2256$|^2257$|^2258$|^2259$|^2260$|^2261$|^2262$|^2263$|^2264$|^2265$|^2266$|^2267$|^351";
&store="^0$|^122$|^129$|^153$|^155$|^264$|^265$|^266$|^287$|^322$|^349$|^369$|^370$|^384$|^387$|^394";
endif;
//Reference Chart:
//298 - Leather Helmet
//299 - Leather Chestplate
//300 - Leather Leggings
//301 - Leather Boots
//268 - Wooden Sword
//269 - Wooden Shovel
//270 - Wooden Pickaxe
//271 - Wooden Axe
//290 - Wooden Hoe
//272 - Stone Sword
//273 - Stone Shovel
//274 - Stone Pickaxe
//275 - Stone Axe
//291 - Stone Hoe
//306 - Iron Helmet
//307 - Iron Chestplate
//308 - Iron Leggings
//309 - Iron Boots
//267 - Iron Sword
//256 - Iron Shovel
//257 - Iron Pickaxe
//258 - Iron Axe
//292 - Iron Hoe
//314 - Gold Helmet
//315 - Gold Chestplate
//316 - Gold Leggings
//317 - Gold Boots
//283 - Gold Sword
//284 - Gold Shovel
//285 - Gold Pickaxe
//286 - Gold Axe
//294 - Gold Hoe
//293 - Diamond Hoe
//2256 -
//2257 -
//2258 -
//2259 -
//2260 -
//2261 -
//2262 - Records
//2263 -
//2264 -
//2265 -
//2266 -
//2267 -
//0 - Empty Slot
//122 - Dragon Egg
//129 - Emerald ore
//153 - Quartz Ore
//155 - Quartz Block
//264 - Diamond
//265 - Iron Ingot
//266 - Gold Ingot
//287 - String
//349 - Raw Fish
//351 - //Lapis Lazulli
//369 - Blaze Rod
//370 - Ghast Tear
//384 - Exp Bottle
//387 - Treasure Book
//394 - Poisonous potato
do;
clearchat();
log("&a&l[Macro]&e Deseja vender os discos?");
log("&a&l[Macro]&2&l [1]&f Não, os jogue fora!");
log("&a&l[Macro]&2&l [2]&f Sim, i got mouths to feed!");
log(" ");
log(" ");
prompt(#homeless_sel_record,$$?,"Insira o número referente a opção desejada.");
until((%#homeless_sel_record%=1)||(%#homeless_sel_record%=2));
if(%#homeless_sel_record%=1);
#homeless_sel_shop=0;
endif;
if(%#homeless_sel_record%=2);
do;
clearchat();
log("&a&l[Macro]&e Onde deseja vender os discos?");
log("&a&l[Macro]&2&l [1] &f/warp loja");
log("&a&l[Macro]&2&l [2] &f/warp vip");
log(" ");
log(" ");
prompt(#homeless_sel_shop,$$?,"Insira o número referente a opção desejada.");
until((%#homeless_sel_shop%=1)||(%#homeless_sel_shop%=2));
endif;
do;
clearchat();
log("&a&l[Macro]&e Em qual bau devemos iniciar o armazenamento de itens? Lembandro que:");
wait(50ms);
log("&a&l[Macro]&2&l[1]&f é o primeiro bau disponível,");
log("&a&l[Macro]&2&l[96]&f é o ultimo bau disponível.");
log(" ");
log(" ");
prompt(#homeless_chest,$$?,"Insira o número referente ao bau de armazenamento inicial.");
until((%#homeless_chest%>=1)&&(%#homeless_chest%<=96));
set(homeless_preset);
endif;
}$$/g AFK - Pescando na >>>PescaHomeless_v3.3<<< #Homeless s2$${
wait(300ms);
clearchat();
&dir = %DIRECTION%;
ifmatches(%&dir%,N);
&homeless_dir_front=NORTH;
&homeless_dir_right=EAST;
&homeless_dir_left=WEST;
&homeless_dir_back=SOUTH;
endif;
ifmatches(%&dir%,S);
&homeless_dir_front=SOUTH;
&homeless_dir_right=WEST;
&homeless_dir_left=EAST;
&homeless_dir_back=NORTH;
endif;
ifmatches(%&dir%,E);
&homeless_dir_front=EAST;
&homeless_dir_right=SOUTH;
&homeless_dir_right=NORTH;
&homeless_dir_back=WEST;
endif;
ifmatches(%&dir%,W);
&homeless_dir_front=WEST;
&homeless_dir_right=NORTH;
&homeless_dir_left=SOUTH;
&homeless_dir_back=EAST;
endif;
look(%&homeless_dir_front%);
do;
slot(9);
gui(inventory);
wait(100ms);
getslotitem(44,#id);
if(%#id%!=346);
slotclick(44,1,false);
wait(100ms);
slotclick(-999);
wait(100ms);
endif;
do(100);
look(,-90);
key(use);
if(%DURABILITY%<24);
look(%&homeless_dir_front%);
look(0,90);
wait(100ms);
key(use);
wait(100ms);
key(use);
wait(100ms);
key(use);
wait(100ms);
look(%&homeless_dir_front%);
do(25);
look(,-90);
key(use);
loop;
if(%DURABILITY%<20);
}$$/home mar$${
gui();
wait(7);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
look(%&homeless_dir_front%);
look(0,90);
wait(100ms);
key(use);
wait(100ms);
endif;
if(%DURABILITY%<15);
do;
slot(9);
}$$/home mar$${
wait(7);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
look(%&homeless_dir_front%);
wait(500ms);
look(0,90);
wait(100ms);
key(use);
wait(100ms);
key(use);
wait(100ms);
key(use);
if(%DURABILITY%<1);
do;
getslotitem(9,#id);
if((%#id%!=346)&&(%#id%!=0));
gui(inventory);
slotclick(44,1,false);
wait(100ms);
slotclick(-999);
wait(100ms);
gui();
wait(500ms);
endif;
}$$/home mar$${
wait(7);
look(%&homeless_dir_front%);
look(+23,40);
wait(250ms);
key(use);
wait(250ms);
key(use);
wait(250ms);
key(use);
wait(2);
for(#homeless_inc,0,54);
getslotitem(%#homeless_inc%,#id);
if(%#id%=346);
slotclick(%#homeless_inc%,l,false);
wait(250ms);
slotclick(89,1,false);
wait(400ms);
gui();
wait(200ms);
look(%&homeless_dir_front%);
look(0,90);
wait(100ms);
key(use);
wait(100ms);
key(use);
wait(100ms);
key(use);
wait(100ms);
break;
endif;
if(%#homeless_inc%=54);
log("&a&l[Macro]&4 Sem varas para pescar.");
log("&a&l[Macro]&4 Reiniciando Busca.");
endif;
next;
until((%DURABILITY%>15)&&(%#id%=346));
endif;
until(%DURABILITY%>15);
endif;
endif;
loop;
if(%#homeless_full%=0);
gui(inventory);
wait(10ms);
getslotitem(34,#id,#stack);
wait(10ms);
if(%#stack%=0);
wait(10ms);
else;
if(%#homeless_sel_shop%!=0);
log("&a&l[Macro]&f Iniciando a venda de discos. &1- [Homeless Macros]");
if(%#homeless_sel_shop%=1);
}$$/home cds$${
wait(3);
do(20);
wait(4);
keydown(jump);
wait(1);
keyup(jump);
wait(2);
if(%YPOS%=6);
break();
endif;
wait(3);
loop;
look(WEST);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
keydown(sneak);
do(300);
if(%ZPOS%=624);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=623);
endif;
if(%ZPOS%=623);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=622);
endif;
if(%ZPOS%=622);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=621);
endif;
if(%ZPOS%=621);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=620);
endif;
if(%ZPOS%=620);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=619);
endif;
if(%ZPOS%=619);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=618);
endif;
if(%ZPOS%=618);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
keydown(jump);
do(200);
until(%ZPOS%=617);
keyup(jump);
keyup(sneak);
do(200);
until(%ZPOS%=612);
keydown(jump);
do(200);
until(%ZPOS%=611);
keyup(jump);
do(200);
until(%ZPOS%=610);
wait(40ms);
keyup(right);
keydown(sneak);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=609);
endif;
if(%ZPOS%=609);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=608);
endif;
if(%ZPOS%=608);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=607);
endif;
if(%ZPOS%=607);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
break;
endif;
until(%ZPOS%=606);
keyup(sneak);
keydown(right);
wait(300ms);
keyup(right);
endif;
if(%#homeless_sel_shop%=2);
}$$/warp vip$${
wait(3);
do(20);
keydown(jump);
wait(1);
keyup(jump);
wait(2);
if(%YPOS%=4);
break();
endif;
loop;
wait(250ms);
look(EAST);
do(120);
keydown(forward);
if(%XPOS%=709);
keydown(sneak);
endif;
until(%XPOS%=710);
wait(350ms);
keyup(forward);
keyup(sneak);
look(NORTH);
do(120);
keydown(forward);
if(%ZPOS%=653);
keydown(sneak);
endif;
until(%ZPOS%=652);
wait(50ms);
keyup(forward);
look(WEST);
keydown(right);
do(300);
if(%ZPOS%=652);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=651);
endif;
if(%ZPOS%=651);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=650);
endif;
if(%ZPOS%=650);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=649);
endif;
if(%ZPOS%=649);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=648);
endif;
if(%ZPOS%=648);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=647);
endif;
if(%ZPOS%=647);
wait(200ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
break;
endif;
loop;
wait(500ms);
look(EAST);
keyup(sneak);
do(120);
keydown(forward);
if(%XPOS%=733);
keydown(sneak);
endif;
until(%XPOS%=734);
keyup(forward);
do(5);
key(attack);
wait(350ms);
loop;
wait(500ms);
keydown(right);
do(300);
if(%ZPOS%=648);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=649);
endif;
if(%ZPOS%=649);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=650);
endif;
if(%ZPOS%=650);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=651);
endif;
if(%ZPOS%=651);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
keydown(right);
do(200);
until(%ZPOS%=652);
endif;
if(%ZPOS%=652);
wait(50ms);
keyup(right);
do(5);
key(attack);
wait(350ms);
loop;
break;
endif;
loop;
keyup(sneak);
keydown(right);
wait(300ms);
keyup(right);
endif;
log("&a&l[Macro]&f Venda de discos finalizada. &1- [Homeless Macros]");
endif;
gui();
}$$/home mar$${
wait(7);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
gui(inventory);
LOG("&a&l[Macro]&f Limpeza de inventário iniciada. &1- [Homeless Macros]");
look(%&homeless_dir_front%);
wait(500ms);
for(#homeless_inc,9,42);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&trash%);
slotclick(%#homeless_inc%);
wait(100ms);
slotclick(-999);
wait(100ms);
endif;
next;
slotclick(36,l,true);
slot(1);
wait(100ms);
for(#homeless_inc,9,35);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&store%);
else;
slotclick(%#homeless_inc%,l,true);
wait(100ms);
#homeless_var_ench=0;
gui();
wait(100ms);
foreach(enchantments);
&homeless_enchant=%ENCHANTMENT%;
if((%&homeless_enchant%=%&p4%)||(%&homeless_enchant%=%&p3%)||(%&homeless_enchant%=%&eff5%)||(%&homeless_enchant%=%&eff4%)||(%&homeless_enchant%=%&eff3%)||(%&homeless_enchant%=%&sharp5%)||(%&homeless_enchant%=%&sharp4%)||(%&homeless_enchant%=%&sharp3%)||(%&homeless_enchant%=%&loot3%));
#homeless_var_ench=1;
endif;
if(%#homeless_store_thorns%=2);
if((%&homeless_enchant%=%þs1%)||(%&homeless_enchant%=%þs2%)||(%&homeless_enchant%=%þs3%));
#homeless_var_ench=0;
break;
endif;
endif;
next;
gui(inventory);
wait(100ms);
if(%#homeless_var_ench%=0);
slotclick(36);
wait(150ms);
slotclick(-999);
wait(150ms);
else;
slotclick(36,l,true);
wait(150ms);
endif;
endif;
next;
for(#homeless_inc,37,42);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&store%);
else;
slotclick(%#homeless_inc%,l,false);
wait(100ms);
slotclick(36,l,false);
wait(100ms);
#homeless_var_ench=0;
gui();
wait(100ms);
foreach(enchantments);
&homeless_enchant=%ENCHANTMENT%;
if((%&homeless_enchant%=%&p4%)||(%&homeless_enchant%=%&p3%)||(%&homeless_enchant%=%&eff5%)||(%&homeless_enchant%=%&eff4%)||(%&homeless_enchant%=%&eff3%)||(%&homeless_enchant%=%&sharp5%)||(%&homeless_enchant%=%&sharp4%)||(%&homeless_enchant%=%&sharp3%)||(%&homeless_enchant%=%&loot3%));
#homeless_var_ench=1;
endif;
if(%#homeless_store_thorns%=2);
if((%&homeless_enchant%=%þs1%)||(%&homeless_enchant%=%þs2%)||(%&homeless_enchant%=%þs3%));
#homeless_var_ench=0;
break;
endif;
endif;
next;
gui(inventory);
wait(100ms);
if(%#homeless_var_ench%=0);
SLOTCLICK(36);
wait(150ms);
SLOTCLICK(-999);
wait(150ms);
else;
slotclick(36,l,true);
wait(150ms);
endif;
endif;
next;
gui();
wait(50ms);
log("&a&l[Macro]&f Limpeza de inventário finalizada. &1- [Homeless Macros]");
wait(800ms);
#homeless_verify=0;
log("&a&l[Macro] &fIniciando armazenamento de itens. &1- [Homeless Macros]");
do;
if(%#homeless_chest%=1);
look(%&homeless_dir_right%);
look(+45,44);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=2);
look(%&homeless_dir_right%);
look(+46,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=3);
look(%&homeless_dir_right%);
look(+46,22);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=4);
look(%&homeless_dir_right%);
look(+46,0);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=5);
look(%&homeless_dir_right%);
look(+46,-14);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=6);
look(%&homeless_dir_right%);
look(+35,48);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=7);
look(%&homeless_dir_right%);
look(+35,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=8);
look(%&homeless_dir_right%);
look(+35,25);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=9);
look(%&homeless_dir_right%);
look(+35,0);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=10);
look(%&homeless_dir_right%);
look(+35,-17);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=11);
look(%&homeless_dir_right%);
look(+12,54);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=12);
look(%&homeless_dir_right%);
look(+12,45);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=13);
look(%&homeless_dir_right%);
look(+12,28);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=14);
look(%&homeless_dir_right%);
look(+12,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=15);
look(%&homeless_dir_right%);
look(+12,-20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=16);
look(%&homeless_dir_right%);
look(-15,54);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=17);
look(%&homeless_dir_right%);
look(-15,44);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=18);
look(%&homeless_dir_right%);
look(-15,24);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=19);
look(%&homeless_dir_right%);
look(-15,04);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=20);
look(%&homeless_dir_right%);
look(-15,-20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=21);
look(%&homeless_dir_right%);
look(-35,50);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=22);
look(%&homeless_dir_right%);
look(-35,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=23);
look(%&homeless_dir_right%);
look(-35,25);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=24);
look(%&homeless_dir_right%);
look(-35,5);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=25);
look(%&homeless_dir_right%);
look(-35,-17);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=26);
look(%&homeless_dir_right%);
look(-46,44);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=27);
look(%&homeless_dir_right%);
look(-46,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=28);
look(%&homeless_dir_right%);
look(-46,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=29);
look(%&homeless_dir_right%);
look(-46,3);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=30);
look(%&homeless_dir_right%);
look(-46,-15);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=31);
look(%&homeless_dir_front%);
look(+25,32);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=32);
look(%&homeless_dir_front%);
look(+25,18);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=33);
look(%&homeless_dir_front%);
look(+25,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=34);
look(%&homeless_dir_front%);
look(+25,-12);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=35);
look(%&homeless_dir_front%);
look(+10,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=36);
look(%&homeless_dir_front%);
look(+10,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=37);
look(%&homeless_dir_front%);
look(+10,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=38);
look(%&homeless_dir_front%);
look(+10,-12);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=39);
look(%&homeless_dir_front%);
look(-9,34);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=40);
look(%&homeless_dir_front%);
look(-9,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=41);
look(%&homeless_dir_front%);
look(-9,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=42);
look(%&homeless_dir_front%);
look(-9,-14);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=43);
look(%&homeless_dir_front%);
look(-26,32);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=44);
look(%&homeless_dir_front%);
look(-26,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=45);
look(%&homeless_dir_front%);
look(-26,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=46);
look(%&homeless_dir_front%);
look(-26,-11);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=47);
look(%&homeless_dir_left%);
look(+46,43);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=48);
look(%&homeless_dir_left%);
look(+46,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=49);
look(%&homeless_dir_left%);
look(+46,22);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=50);
look(%&homeless_dir_left%);
look(+46,0);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=51);
look(%&homeless_dir_left%);
look(+46,-14);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=52);
look(%&homeless_dir_left%);
look(+35,48);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=53);
look(%&homeless_dir_left%);
look(+35,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=54);
look(%&homeless_dir_left%);
look(+35,25);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=55);
look(%&homeless_dir_left%);
look(+35,0);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=56);
look(%&homeless_dir_left%);
look(+35,-17);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=57);
look(%&homeless_dir_left%);
look(+12,54);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=58);
look(%&homeless_dir_left%);
look(+12,45);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=59);
look(%&homeless_dir_left%);
look(+12,28);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=60);
look(%&homeless_dir_left%);
look(+12,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=61);
look(%&homeless_dir_left%);
look(+12,-20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=62);
look(%&homeless_dir_left%);
look(-15,54);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=63);
look(%&homeless_dir_left%);
look(-15,44);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=64);
look(%&homeless_dir_left%);
look(-15,24);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=65);
look(%&homeless_dir_left%);
look(-15,04);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=66);
look(%&homeless_dir_left%);
look(-15,-20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=67);
look(%&homeless_dir_left%);
look(-35,50);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=68);
look(%&homeless_dir_left%);
look(-35,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=69);
look(%&homeless_dir_left%);
look(-35,25);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=70);
look(%&homeless_dir_left%);
look(-35,5);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=71);
look(%&homeless_dir_left%);
look(-35,-17);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=72);
look(%&homeless_dir_left%);
look(-46,44);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=73);
look(%&homeless_dir_left%);
look(-46,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=74);
look(%&homeless_dir_left%);
look(-46,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=75);
look(%&homeless_dir_left%);
look(-46,3);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=76);
look(%&homeless_dir_left%);
look(-46,-13);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=77);
look(%&homeless_dir_back%);
look(+23,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=78);
look(%&homeless_dir_back%);
look(+25,32);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=79);
look(%&homeless_dir_back%);
look(+25,18);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=80);
look(%&homeless_dir_back%);
look(+25,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=81);
look(%&homeless_dir_back%);
look(+25,-12);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=82);
look(%&homeless_dir_back%);
look(+10,43);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=83);
look(%&homeless_dir_back%);
look(+10,35);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=84);
look(%&homeless_dir_back%);
look(+10,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=85);
look(%&homeless_dir_back%);
look(+10,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=86);
look(%&homeless_dir_back%);
look(+10,-12);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=87);
look(%&homeless_dir_back%);
look(-9,43);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=88);
look(%&homeless_dir_back%);
look(-9,34);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=89);
look(%&homeless_dir_back%);
look(-9,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=90);
look(%&homeless_dir_back%);
look(-9,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=91);
look(%&homeless_dir_back%);
look(-9,-14);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=92);
look(%&homeless_dir_back%);
look(-23,40);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=93);
look(%&homeless_dir_back%);
look(-26,32);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=94);
look(%&homeless_dir_back%);
look(-26,20);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=95);
look(%&homeless_dir_back%);
look(-26,2);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest%=96);
look(%&homeless_dir_back%);
look(-26,-12);
log("&a&l[Macro]&e Bau %#homeless_chest% &1- [By: Homeless Macros]");
wait(500ms);
endif;
wait(250ms);
key(use);
wait(3);
if(%#homeless_verify%=0);
#clear_again=0;
log("&a&l[Macro]&f Verificando se ainda resta lixo no inventário. &1- [Homeless Macros]");
for(#homeless_inc,54,80);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&trash%);
#clear_again=1;
endif;
next;
if(%#clear_again%=1);
wait(250ms);
log("&a&l[Macro]&f Maldito lag! Reiniciando a limpeza. &1- [Homeless Macros]");
gui();
}$$/home mar$${
wait(7);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
gui(inventory);
look(%&homeless_dir_front%);
wait(300ms);
gui(inventory);
wait(300ms);
for(#homeless_inc,9,42);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&trash%);
slotclick(%#homeless_inc%);
wait(100ms);
slotclick(-999);
wait(100ms);
endif;
next;
slotclick(36,l,true);
slot(1);
wait(100ms);
for(#homeless_inc,9,35);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&store%);
else;
slotclick(%#homeless_inc%,l,true);
wait(100ms);
#homeless_var_ench=0;
gui();
wait(100ms);
foreach(enchantments);
&homeless_enchant=%ENCHANTMENT%;
if((%&homeless_enchant%=%&p4%)||(%&homeless_enchant%=%&p3%)||(%&homeless_enchant%=%&eff5%)||(%&homeless_enchant%=%&eff4%)||(%&homeless_enchant%=%&eff3%)||(%&homeless_enchant%=%&sharp5%)||(%&homeless_enchant%=%&sharp4%)||(%&homeless_enchant%=%&sharp3%)||(%&homeless_enchant%=%&loot3%));
#homeless_var_ench=1;
endif;
if(%#homeless_store_thorns%=2);
if((%&homeless_enchant%=%þs1%)||(%&homeless_enchant%=%þs2%)||(%&homeless_enchant%=%þs3%));
#homeless_var_ench=0;
break;
endif;
endif;
next;
gui(inventory);
wait(100ms);
if(%#homeless_var_ench%=0);
slotclick(36);
wait(100ms);
slotclick(-999);
wait(100ms);
else;
slottclick(36,l,true);
wait(100ms);
endif;
endif;
next;
for(#homeless_inc,37,42);
getslotitem(%#homeless_inc%,#id);
ifmatches(%#id%,%&store%);
else;
slotclick(%#homeless_inc%,l,false);
wait(100ms);
slotclick(36,l,false);
wait(100ms);
#homeless_var_ench=0;
gui();
wait(100ms);
foreach(enchantments);
&homeless_enchant=%ENCHANTMENT%;
if((%&homeless_enchant%=%&p4%)||(%&homeless_enchant%=%&p3%)||(%&homeless_enchant%=%&eff5%)||(%&homeless_enchant%=%&eff4%)||(%&homeless_enchant%=%&eff3%)||(%&homeless_enchant%=%&sharp5%)||(%&homeless_enchant%=%&sharp4%)||(%&homeless_enchant%=%&sharp3%)||(%&homeless_enchant%=%&loot3%));
#homeless_var_ench=1;
endif;
if(%#homeless_store_thorns%=2);
if((%&homeless_enchant%=%þs1%)||(%&homeless_enchant%=%þs2%)||(%&homeless_enchant%=%þs3%));
#homeless_var_ench=0;
break;
endif;
endif;
next;
gui(inventory);
wait(100ms);
if(%#homeless_var_ench%=0);
slotclick(36);
wait(100ms);
slotclick(-999);
wait(100ms);
else;
slotclick(36,l,true);
wait(100ms);
endif;
endif;
next;
gui();
#stack=1;
else;
#homeless_verify=1
log("&a&l[Macro]&f Inventário OK, iniciando armazenamento. &1- [Homeless Macros]");
endif;
else;
for(#homeless_inc,54,80);
slotclick(%#homeless_inc%,l,true);
wait(40ms);
next;
for(#homeless_inc,81,87);
getslotitem(%#homeless_inc%,#id);
if(%#id%!=287);
slotclick(%#homeless_inc%,l,true);
wait(40ms);
endif;
next;
wait(300ms);
getslotitem(53,#id,#stack);
wait(300ms);
if(%#stack%!=0);
#homeless_chest=#homeless_chest+1;
}$$/g AFK - Pescando #Homeless s2$${
if(%#homeless_chest%=97);
#homeless_full=1;
log("&a&l[Macro]&f Baús cheios! &1- Homeless Macros");
endif;
else;
#stack=0;
endif;
endif;
gui();
wait(500ms);
until((%#stack%=0)||(%#homeless_full%=1));
look(%&homeless_dir_front%);
}$$/kit nbvip$${
wait(500ms);
log("&a&l[Macro]&f Armazenamento de itens finalizado. &1- [Homeless Macros]");
if(%#homeless_string%=0);
gui(inventory);
wait(1);
getslotitem(42,#id);
if(%#id%!=287);
#homeless_string_counter=0;
for(#homeless_inc,37,41);
getslotitem(%#homeless_inc,#id);
if(%#id%=287);
inc(#homeless_string_counter);
else;
slotclick(%#homeless_inc%,l,true);
endif;
wait(50ms);
next;
log("&a&l[Macro]&f Linhas quase acabando, reabastecendo. &1- [Homeless Macros]");
wait(150ms);
do;
if(%#homeless_chest_string%=1);
look(%&homeless_dir_front%);
look(-23,40);
log("&a&l[Macro]&e Bau de linhas %#homeless_chest_string% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest_string%=2);
look(%&homeless_dir_front%);
look(-9,43);
log("&a&l[Macro]&e Bau de linhas %#homeless_chest_string% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest_string%=3);
look(%&homeless_dir_front%);
look(+10,43);
log("&a&l[Macro]&e Bau de linhas %#homeless_chest_string% &1- [By: Homeless Macros]");
wait(500ms);
endif;
if(%#homeless_chest_string%=4);
look(%&homeless_dir_front%);
look(+23,40);
log("&a&l[Macro]&e Bau de linhas %#homeless_chest_string% &1- [By: Homeless Macros]");
wait(500ms);
endif;
key(use);
wait(50ms);
key(use);
wait(2);
for(#homeless_inc,0,53);
getslotitem(%#homeless_inc%,#id);
if((%#id%=287)&&(%#homeless_string_counter%<5));
slotclick(%#homeless_inc%,l,true);
wait(250ms);
inc(#homeless_string_counter);
endif;
next;
gui();
if(%#homeless_string_counter%<5);
inc(#homeless_chest_string);
if(%#homeless_chest_string%>4);
#homeless_string=1;
log("&a&l[Macro]&f Acabaram as linhas no estoque! &1- [Homeless Macros]");
endif;
endif;
until((%#homeless_string%=1)||(%#homeless_string_counter%>=5));
else;
log("&a&l[Macro]&f Quantidade de linhas OK. &1- [Homeless Macros]");
endif;
else;
log("&a&l[Macro]&f Sem linhas no estoque! &1- [Homeless Macros]");
endif;
look(%&homeless_dir_front%);
gui();
wait(300ms);
endif;
else;
log("&a&l[Macro]&f Baús cheios! &1- [Homeless Macros]");
endif;
loop;
endif;
}$$