Basically all you have to do is check the player account (if he is the owner) and warp him. ^_^
NPC Code:
if(created){
setstring this.door_owner,osrs;
}
if(playertouchsme){
if(strcontains(#s(this.door_owner),#a)) //warp;
else say2 You aren't the owner;
}