If it helps, here is the script that is supposed to be run after the timer expires:
Code: plotscript,resetmobs,begin
respawncount += 1
if (level == 1) then (
powerx := random(1,15)
powery := random (1,9)
create npc (20,powerx,powery)
alter NPC (20,NPCstat:move type,npcmovetype:pace)
alter npc (20,NPCstat:picture,5)
while (check npc wall (20,north) ,or, check npc wall (20,south) ,or, check npc wall (20,east) ,or, check npc wall (20,west)) do (
destroy npc (20)
powerx := random(1,15)
powery := random (1,9)
create npc (20,powerx,powery)
alter NPC (20,NPCstat:move type,npcmovetype:pace)
alter npc (20,NPCstat:picture,5)
)
powerx := random(1,15)
powery := random (1,9)
create npc (21,powerx,powery)
alter NPC (21,NPCstat:move type,npcmovetype:pace)
alter npc (21,NPCstat:picture,5)
while (check npc wall (21,north) ,or, check npc wall (21,south) ,or, check npc wall (21,east) ,or, check npc wall (21,west)) do (
destroy npc (21)
powerx := random(1,15)
powery := random (1,9)
create npc (21,powerx,powery)
alter NPC (21,NPCstat:move type,npcmovetype:pace)
alter npc (21,NPCstat:picture,5)
)
powerx := random(1,15)
powery := random (1,9)
create npc (22,powerx,powery)
alter NPC (22,NPCstat:move type,npcmovetype:pace)
alter npc (22,NPCstat:picture,5)
while (check npc wall (22,north) ,or, check npc wall (22,south) ,or, check npc wall (22,east) ,or, check npc wall (22,west)) do (
destroy npc (22)
powerx := random(1,15)
powery := random (1,9)
create npc (22,powerx,powery)
alter NPC (22,NPCstat:move type,npcmovetype:pace)
alter npc (22,NPCstat:picture,5)
)
)
end