$${if(ro);
log( );
log("&d&l[MACRO] &aHerbalismo &7&l[&4Off&7&l]");
log( );
unset(ro);
stop();
else;
log( );
log("&d&l[MACRO] &aHerbalismo &7&l[&2On&7&l]");
endif;
}$$$${
endif;
log( );
set(ro);
IFMATCHES(%DIRECTION%,N);
&frente = NORTH;
ENDIF;
IFMATCHES(%DIRECTION%,S);
&frente = SOUTH;
ENDIF;
IFMATCHES(%DIRECTION%,W);
&frente = WEST;
ENDIF;
IFMATCHES(%DIRECTION%,E);
&frente = EAST;
ENDIF;
DO;
do(200)
Look(%&frente%);
Look(,90);
PICK(338);
KEY(use);
wait();
Look(%&frente%);
Look(,90);
key(attack);
wait();
loop;
getslotitem(9,#id,#cana2);
if(%#cana2%<60);
Look(%&frente%);
look(,-90);
wait(500ms);
key(use);
wait(1);
for(#i,27,63);
getslotitem(%#i%,#id,);
if(%#id%=387);
slotclick(%#i%,l,true);
wait(75ms);
endif;
next;
wait(1);
gui();
endif;
getslotitem(9,#id,#cana2);
if(%#cana2%<60);
wait(1);
gui(inventory);
wait(1);
for(#i,9,35);
getslotitem(%#i%,#id,);
if(%#id%=338);
slotclick(%#i%,l,true);
wait(100ms);
endif;
next;
wait(1);
gui();
endif;
wait(5ms);
key(attack);
keydown(jump);
wait(100ms);
keyup(jump);
endif;
LOOP;
endif;
ENDIF;
}$$