Where my erro? I want the NPC only run if the player is a minimum 3 cells away. But regardless of the distance he always call the function.
- script Ore Mine::oremine 844,{
.@number = 1;
getmapxy .@map1$, .@x1, .@y1, 0;
getmapxy .@map2$, .@x2, .@y2, 0;
set h_run$, strnpcinfo(0);
if ( .@map1$...