$${
if(macro);
unset(macro);
log(&4[MACRO] off);
stop;
else;
set(macro);
log(&2[MACRO] on);
endif;
&d=%DIRECTION%;
ifmatches(%&d%,N);&d=NORTH;endif;
ifmatches(%&d%,S);&d=SOUTH;endif;
ifmatches(%&d%,E);&d=EAST;endif;
ifmatches(%&d%,W);&d=WEST;endif;
//Norte
//4º
//1
wait(100ms);look(NORTH);
wait(100ms);look(10,35);
key(USE);wait(1);
gui();wait(1);
//2
wait(100ms);look(NORTH);
wait(100ms);look(10,25);
key(USE);wait(1);
gui();wait(1);
//3
wait(100ms);look(NORTH);
wait(100ms);look(10,5);
key(USE);wait(1);
gui();wait(1);
//4
wait(100ms);look(NORTH);
wait(100ms);look(10,-15);
key(USE);wait(1);
gui();wait(1);
//5º
//5
wait(100ms);look(NORTH);
wait(100ms);look(20,35);
key(USE);wait(1);
gui();wait(1);
//6
wait(100ms);look(NORTH);
wait(100ms);look(20,20);
key(USE);wait(1);
gui();wait(1);
//7
wait(100ms);look(NORTH);
wait(100ms);look(20,5);
key(USE);wait(1);
gui();wait(1);
//8
wait(100ms);loo(NORTH);
wait(100ms);look(20,-15);
key(USE);wait(1);
gui();wait(1);
//6º
//9
wait(100ms);look(NORTH);
wait(100ms);look(37,30);
key(USE);wait(1);
gui();wait(1);
//10
wait(100ms);look(NORTH);
wait(100ms);look(40,15);
key(USE);wait(1);
gui();wait(1);
//11
wait(100ms);look(NORTH);
wait(100ms);look(40,5);
key(USE);wait(1);
gui();wait(1);
//12
wait(100ms);loo(NORTH);
wait(100ms);look(40,-15);
key(USE);wait(1);
gui();wait(1);
//ok<12>
//Leste
//1º
//13
wait(100ms);look(EAST);
wait(100ms);look(-37,30);
key(USE);wait(1);
gui();wait(1);
//14
wait(100ms);look(EAST);
wait(100ms);look(-40,15);
key(USE);wait(1);
gui();wait(1);
//15
wait(100ms);look(EAST);
wait(100ms);look(-40,5);
key(USE);wait(1);
gui();wait(1);
//16
wait(100ms);look(EAST);
wait(100ms);look(-40,-11);
key(USE);wait(1);
gui();wait(1);
//2º
//17
wait(100ms);look(EAST);
wait(100ms);look(-20,35);
key(USE);wait(1);
gui();wait(1);
//18
wait(100ms);look(EAST);
wait(100ms);look(-20,20);
key(USE);wait(1);
gui();wait(1);
//19
wait(100ms);look(EAST);
wait(100ms);look(-20,5);
key(USE);wait(1);
gui();wait(1);
//20
wait(100ms);look(EAST);
wait(100ms);look(-20,-15);
key(USE);wait(1);
gui();wait(1);
//3º
//21
wait(100ms);look(EAST);
wait(100ms);look(-5,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(-5,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(-5,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(-5,-15);
key(USE);wait(1);
gui();wait(1);
//4º
wait(100ms);look(EAST);
wait(100ms);look(95,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(95,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(95,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(95,-15);
key(USE);wait(1);
gui();wait(1);
//5º
wait(100ms);look(EAST);
wait(100ms);look(110,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(110,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(110,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(110,-15);
key(USE);wait(1);
gui();wait(1);
//6º
wait(100ms);look(EAST);
wait(100ms);look(127,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(130,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(130,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(EAST);
wait(100ms);look(130,-11);
key(USE);wait(1);
gui();wait(1);
//ok<36>
//Sul
//1º
wait(100ms);look(SOUTH);
wait(100ms);look(-37,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-40,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-40,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-40,-11);
key(USE);wait(1);
gui();wait(1);
//2º
wait(100ms);look(SOUTH);
wait(100ms);look(-20,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-20,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-20,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-20,-15);
key(USE);wait(1);
gui();wait(1);
//3º
wait(100ms);look(SOUTH);
wait(100ms);look(-5,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-5,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-5,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(-5,-15);
key(USE);wait(1);
gui();wait(1);
//4º
wait(100ms);look(SOUTH);
wait(100ms);look(185,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(185,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(185,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(185,-15);
key(USE);wait(1);
gui();wait(1);
//5º
wait(100ms);look(SOUTH);
wait(100ms);look(200,35);
key(USE);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(200,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(200,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(200,-15);
key(USE);wait(1);
gui();wait(1);
//6º
wait(100ms);look(SOUTH);
wait(100ms);look(217,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(220,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(220,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(SOUTH);
wait(100ms);look(220,-11);
key(USE);wait(1);
gui();wait(1);
//ok<60>
//Oeste
//1º
wait(100ms);look(WEST);
wait(100ms);look(-37,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-40,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-40,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-40,-11);
key(USE);wait(1);
gui();wait(1);
//2º
wait(100ms);look(WEST);
wait(100ms);look(-20,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-20,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-20,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-20,-15);
key(USE);wait(1);
gui();wait(1);
//3º
wait(100ms);look(WEST);
wait(100ms);look(-5,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-5,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-5,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(-5,-15);
key(USE);wait(1);
gui();wait(1);
//4º
wait(100ms);look(WEST);
wait(100ms);look(275,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(275,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(275,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(275,-15);
key(USE);wait(1);
gui();wait(1);
//5º
wait(100ms);look(WEST);
wait(100ms);look(290,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(290,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(290,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(290,-15);
key(USE);wait(1);
gui();wait(1);
//6º
wait(100ms);look(WEST);
wait(100ms);look(307,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(310,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(310,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(WEST);
wait(100ms);look(310,-11);
key(USE);wait(1);
gui();wait(1);
//Norte
//1º
wait(100ms);look(NORTH);
wait(100ms);look(-37,30);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-40,15);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-40,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-40,-11);
key(USE);wait(1);
gui();wait(1);
//2º
wait(100ms);look(NORTH);
wait(100ms);look(-20,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-20,20);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-20,5);
key(USE);wait(1);
gui();wait(1);wait(100ms);
wait(100ms);look(NORTH);
wait(100ms);look(-20,-15);
key(USE);wait(1);
gui();wait(1);
//3º
wait(100ms);look(NORTH);
wait(100ms);look(-5,35);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-5,25);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-5,5);
key(USE);wait(1);
gui();wait(1);
wait(100ms);look(NORTH);
wait(100ms);look(-5,-15);
key(USE);wait(1);
gui();wait(1);
log(&b[MACRO]&c[%PLAYER%] &fbaus verificados!!);
stop();
}$$