(0,0), by definition, is always the origin, because the origin defines where (0,0) is. Imagine a player character called Zero 0 and an NPC called Origin. Origin has the following script:
NPC Code:
if(playerenters){
timeout=0.5;
setcharprop #c,Zero 0;
}
if(timeout){
if(strequals(#n,Zero 0)){
playerx=x;
playery=y;
}
timeout=0.5;
}
It should, in effect, move player with name Zero 0 to the X and Y of the NPC Origin.