It would help me if there was a list of levels I can access serverside. I'd need the variables levelscount and #L(...) to randomly place NPCs in certain levels (or to refill the fishrate).
#L(...) should be sorted alphabetically and #L(0) should not be the same as #L, but the first level in the order.
Then I could do something like this:
NPC Code:
if (created) {
timeout = 5;
}
if (timeout) {
if (level.fishrate < level.maxfishrate) level.fishrate+=0.1;
this.nextlevel= (this.nextlevel+1)%levelscount;
warpto #L(this.nextlevel),0,0;
}