Testa assim
Código:
$${
if(rorzgamer); log("&b[MACRO] &aUpaRep &6by &bRorzGamer &4[OFF]"); unset(rorzgamer); stop(); else; log("&b[MACRO] &aUpaRep &6by &bRorzGamer &2[ON]"); set(rorzgamer); &dir=%DIRECTION%; ifmatches(%&dir%,N);&dir=NORTH;endif; ifmatches(%&dir%,S);&dir=SOUTH;endif; ifmatches(%&dir%,E);&dir=EAST;endif; ifmatches(%&dir%,W);&dir=WEST;endif; DO; look(%&dir%); look(,60); pick(dirt);wait(1ms); KEY(use); wait(1ms); pick(wooden_shovel); if(%DURABILITY%<30); look(,90); log("&b[MACRO]&6 Reparando!"); wait(500ms); key(use); wait(1); if(%DURABILITY%<20); log("&b[MACRO] &aUpaRep &6by &bRorzGamer &4[OFF]"); log("&b[MACRO] &cSem &7blocos &cpara reparar!"); unset(rorzgamer); stop(); endif; log("&b[MACRO] &6Pa reparada com sucesso!"); log("&b[MACRO] &6Voltando!"); endif; do();KEY(attack);while(%HITID%=="dirt"); LOOP; endif;
}$$