At a guess,
PHP Code:
function onCreated() {
this.links = {
{"level1.nw", 35, 45},
{"level2.nw", 45, 35},
{"levellol.nw", 13, 37}
};
}
function onPlayerTouchsMe() {
temp.choice = this.links[int(random(0, this.links.size()))];
player.setlevel2(temp.choice[0], temp.choice[1], temp.choice[2]);
}
Would warp you to a random level when you touch it