I am not sure I entirely understand what you are trying to say, but is this what you mean?
PHP Code:
for (temp.i = 0; temp.i < this.reqflags.size(); temp.i ++)
{
if (!(0 in (@ this.reqflags[temp.i])))
{
player.setLevel2(this.level[temp.i], this.newx[temp.i], this.newy[temp.i]);
}
}
Edit: I do agree with just evaluating it on onPlayerTouchsMe. I think you are making this quite complicated for yourself trying to stick to a philosophy that won't easily (or at all) work everywhere.