BinhoGamer
Neutro
Alguem sabe o que há de errado com este macro que eu fiz? se puder arrumar e postar aqui eu agradeceria de coração ! Obrigado
Código:
$${
IF(intro)
LOG("&4[Parando de pescar *-* ]");
LOG("&a[Macro feita por &bBinhoGamer!&a]");
UNSET(intro);
STOP();
ELSE;
LOG("&5[Começando a pescar :D]");
SET(intro);
IFMATCHES(%DIRECTION%, N);
&frente = NORTH;
ENDIF;
DO;
LOOK(,0);
LOOK(,-90);
$${
GUI(inventory);wait(500ms);
do;
getslotitem(%#nslot%,#id,#stack)
if(%#id%!=349);
if(%#id%=349);
if(%#stack%=64);
INC(#sok,1);
INC(#cct,64);
else;
INC(#cct,%#stack%);
endif;
else;
INC(#sok2,1);
endif;
else;
INC(#svazio,1);
endif;
INC(#nslot,1);
until(%#nslot% = 45);
}$$
$${
////////////////////////////////////////////
log("&6Mantenha seu inventário &faberto!");
DO;
gui(inventory);wait(500ms);
#nslot=9;#sok=0;#sok2=0;#svazio=0;#cct=0;
do;
getslotitem(%#nslot%,#id,#stack)
if(%#id%!=0);
if(%#id%=349);
if(%#stack%=64);
INC(#sok,1);
INC(#cct,64);
else;
INC(#cct,%#stack%);
INC(#svazio,1);
endif;
endif;
else;
INC(#svazio,1);
endif;
INC(#nslot,1);
until(%#nslot% = 45);
#lucro=%#sok%*30;
#lucro2=%#sok%*20;
if(SHIFT);
log("----------------------------");
log("&6Quantidade atual de peixes: &f%#cct%");
log("----------------------------");
endif;
if(%#svazio%=0);
log("----------------------------");
log("Itens prontos para venda!");
log("&6Quantidade atual de peixes: &f%#cct%");
log("----------------------------");
GUI();
}$$
/home peixe
$${
wait(10);
do(40);
key(attack);
wait(600ms);
loop;
$${
/home pesca
$${
wait(2);
endif;
DO;
PICK(346);
KEY(use);
WAIT(50ms);
UNTIL(%DURABILITY% < 17);
LOOK(%&frente%);
LOOK(,+90);
DO(3);
KEY(use);
LOOP;
LOOP;
ENDIF;
}$$