Well, seems like everyone's way off the subject.
PHP Code:
function onCreated() {
//you can't test clientr.vars in onCreated serverside,
//so this would be out of the question
this.reqflags = {clientr.quest_dungeon[0],clientr.quest_dungeon[1] == 2}
}
function onPlayerChats() {
//not to mention, something that changes in
//the level could change the variable that you're looking for.
clientr.quest_dungeon[0] == 1;
}
function onPlayerTouchsMe() {
//I want to do all of my boolean checks here,
//but indicate the booleans that I want to check in onCreated() function.
//Make it easier for the users of the class.
if (!0 in this.reqflags) {
setlevel2 this.level[0],this.newx[0],this.newy[0];
}
}
Now, do you see my point?