NPC Code:if (playerenters||timeout) { for (this.ip=0;this.p<playersounct;this.p++) { if (players[this.p].y<y&&players[this.p].ap<50) { say2 You may not enter!; players[this.p].dir=2; players[this.p].y+=0.5; } } timeout = 0.05; }
if (playerenters||timeout) { for (this.ip=0;this.p<playersounct;this.p++) { if (players[this.p].y<y&&players[this.p].ap<50) { say2 You may not enter!; players[this.p].dir=2; players[this.p].y+=0.5; } } timeout = 0.05; }