Kal Spawner- terrain tag or region?

Hello everyone! So I'm doing some spawnings with Kal's spawner in combination with Falcao's ABS Pearl v3 (yes I have Sixth's patch) in my dungeons and realized that I have some maps that I want enemies to spawn only in certain areas. I know it already has the function of spawning on passable tiles but in a multilevel dungeon they spawn on all levels. My scripting skills are next to nil (minor modification here and there) and I'm not sure how to implement this. I'm almost certain that it can be done and if anyone can assist it would be greatly appreciated. Thanks in advance.
I'm having a hard time visualizing the problem, can show you us? Also, seeing as Falcao and Kal are not active, your best bet is to summon @Sixth
Here is what I mean:


I have a spawner that spawns enemies


spawner-event.png


With the current script I am unable to keep the spawned enemies to the lower level unless I use multiple spawners with limited range.


What I'm hoping to do is be able to draw a region or use a terrain tag so I can use only one spawner. Like this:


spawner-region.png
Well, I actually just don't understand how this problem even arises.  The events spawn on the event spawner.  You can easily keep the events where you want them by just adding blank events to "block" the passageways you don't want them traversing.  Unless your spawned events can fly? What are they?  Alternatively, you could use this script to keep any events you want in a certain area.
I updated the patch I made for this with the options you asked for.


Additionally, fixed another issue with the random position spawning.


Script is at the same place, but for convenience: http://pastebin.com/HZ9JbfpR .
The dungeon above is actually much larger and has a maze of sorts in the unshown area. I actually have the script you linked already. The problem arises when I use this option


<spawn-pos random:X>


You have to use multiple spawners if you want to have more than one type of enemy spawn. It would take alot more events to manipulate the areas that they spawn in increasing the cost. With the script you linked I would only be able to block where they ALL can go, not specific types. 


Thanks a ton @Sixth. 

Original thread: https://forums.rpgmakerweb.com/threads/kal-spawner-terrain-tag-or-region.67821/