I have had a mess around with random dungeon's myself.
If I get what you mean, you want a script that fires every turn, and if there is no monster in the room then it has a chance of generating one.
So first the turn script checks the current room (player.parent) for monsters. How you do that depends on how monsters are set up. If you have a monster type, you could do this:
monsters_present = false
foreach (o, GetDirectChildren (player.parenty)) {
if (DoesInherit (o, "monster")) {
monsters_present = true
}
}
if (not monsters_present) {
// randomly generate monster
}