You could do:
NPC Code:
else if (players[i].x in |x-3,x+3|&&players[i].y in |y-3,y+3|) {
this.w++;
copylevel levels/neutral-battle.nw,levels/neutral-battle#v(this.w).nw;
canwarp;
with(players[i]) {
attachplayertoobj 0,id;
setlevel2 neutral-battle#v(this.w).nw,30,20;
detachplayer;
}
timeout=1;
}
and in levels/neutral-battle.nw put this script exactly:
NPC Code:
if (playerleaves && playercount<0) {
deletelevel #L;
}
But make sure you have a backup of the original neutral battle.
We're deleting the level to make less lag. Now if that doesn't work i'll get online and play with it.