As I have learnt debugging is the key.
Have you tried something like this?
PHP Code:
//#CLIENTSIDE
function onPlayerEnters() {
temp.haha = {
"world_bb01.nw", "world_bb02.nw", "world_bb03.nw",
"world_bc01.nw", "world_bc02.nw", "world_bc03.nw",
"world_bd01.nw", "world_bd02.nw", "world_bd03.nw",
"world_be01.nw", "world_be02.nw", "world_be03.nw"
};
if (player.level.name in temp.haha) {
player.chat = "I am in the correct levels!";
} else {
player.chat = "I am not in the correct levels!";
}
}
If all else fails, I know you probably shouldn't but do it on a one second timeout.