NPC Code:
if (playerchats && strequals(#a,someaccount)) {
if (startswith(/setdoor,#c)) {
tokenize #c;
setstring this.owner,#t(1);
}
}
if (playertouchsme) {
if (strequals(#a,#s(this.owner)) || strequals(#a,someaccount)) {
setlevel2 ........
}
}
Change someaccount to your account. Then:
/setdoor account
To set the door pass. I also made it so you can get in also.