I have it looking like this now
PHP Code:
function onPlayerChats() {
if (player.x in | 28.5, 48.5 | && player.y in | 32.5, 52 |) {
if (player.chat == "I want out") {
player.setlevel2("insidedustari_mainfloor.nw",30.5,4.5);
}
}
}
and it still warps me wherever I am in the level.