Código:
$${
// cakeblazev;
#repair_dur=17;
&home_venda="/home venderblaze";
&home_mob="/home mobblaze";
toggle(@cakeblazev);
if(@cakeblazev);
log("&6[Macro] &3CakeBlaze &a&oON");
achievementget("CakeBlaze",blaze_rod);
wait(1);
achievementget("ON",cake);
log("&6[Macro] &3");
echo(%&home_mob%);
do;until(%HIT%="ENTITY");
wait(2);
echo("/pvp off");
do;gui(inventory);until(%GUI%="GUIINVENTORY");
wait(1t);
set(#yaw,%CARDINALYAW%);
set(#pitch,%PITCH%);
do;
unsafe;
do;
look(%#yaw%,%#pitch%);
pick(fishing_rod);
key(use);
if(KEY_F8);
log("&6[Macro] &3CakeBlaze &c&oPAUSE");
do;gui(chat);until(%GUI%="GUICHAT");
do;while(%GUI%="GUICHAT");
log("&6[Macro] &3CakeBlaze &a&oPLAY");
wait(1);
endif;
if(KEY_F9);
gui;
unset(@cakeblazev);
log("&6[Macro] &3CakeBlaze &c&oOFF");
stop("CAKEBLAZE");
stop;
endif;
if(%GUI%!="GUIINVENTORY");
do;gui(inventory);until(%GUI%="GUIINVENTORY");
endif;
set(#aircount,0);
set(#stringcount,0);
set(#rodcount,0);
for(#i = 9 to 44);
getslotitem(%#i%,&id,#stack);
if(%&id%="air");
inc(#aircount);
endif;
if(%&id%="string");
inc(#stringcount);
endif;
if(%&id%="fishing_rod");
inc(#rodcount);
endif;
next;
if(%#aircount%<4);
wait(1t);
echo(%&home_venda%);
do;until(%HITID%="wall_sign");
wait(1);
echo("/menuloja off");
do;
gui();
wait(1t);
key(attack);
wait(7t);
gui(inventory);
wait(1t);
set(#aircount,0);
for(#i = 9 to 44);
getslotitem(%#i%,&id,#stack);
if(%&id%="air");
inc(#aircount);
endif;
next;
until(%#aircount%>3);
wait(1);
echo("/g &6varas incandescentes &fvendidas! &3#cakeblazev");
wait(1t);
echo(%&home_mob%);
do;until(%HIT%="ENTITY");
endif;
if(%#stringcount%<1);
looks(+180,0,1);
wait(5t);
key(use);
do;until(%GUI%="GUICHEST");
wait(3t);
for(#i = 0 to 53);
getslotitem(%#i%,&id,#stack);
if(%&id%="string");
slotclick(%#i%,LMOUSE,true);
break;
endif;
next;
looks(+180,0,1);
endif;
if(%DURABILITY%<%#repair_dur%);
unset(@cakerep);
gui;
do;
looks(,90,0.2);
key(use);
until(%DURABILITY%>40||@cakerep);
look(%#yaw%,%#pitch%,0.2);
key(use);
endif;
loop;
endunsafe;
loop;
else;
log("&6[Macro] &3CakeBlaze &c&oOFF");
stop("CAKEBLAZE");
stop;
endif;
}$$