Quote:
Originally Posted by DrakilorP2P
That's so complicated. The original is much easier to use and roughly equivalent in security.
|
All it really needed was
PHP Code:
// class 'door'
function onPlayerTouchsMe() {
if (player.guild == this.guild || this.guild == null) {
player.setLevel2(this.newLevel, this.newX, this.newY);
}
}
PHP Code:
// level script
function onCreated() {
this.guild = "My Guild";
this.newLevel = "level.nw";
this.newX = 32;
this.newY = 32;
this.join("door");
}