How can I have a conditional event for a map's encounters?

I can only see an option to specify by region...
I Googled "RPG Maker MZ encounter conditional" and found this plugin:
I've moved this thread to RPG Maker MZ Support, based on the "Primarily Uses" in your profile. If you were asking about a different engine, Report this post and let us know so we can move it there instead.

Please note that "General Discussion" is not for Help/Support questions, but rather discussing general, engine-neutral aspects of game development, such as how to write likable characters, how to market your game, or how to stay focused through the parts of game dev you don't enjoy.
In case it helps, there are a few event chase plugins too. I've used one by ct_bolt (in MV) and I'm currently using one by Moghunter (MZ). The only other one I know of is by Yanfly (some if plugins work in MZ but may not after future updates). There's a newer FOSSIL plugin for using several MV plugins in MZ though.

I hope that helps and have fun on your project!
Try using the Script option of the Conditional Branch, you can try the following:

Get region ID of event 0002:
JavaScript:
$gameMap.event(2).regionId()

Get region ID of current event (NPC in Parallel or Autorun):
JavaScript:
$gameMap.event(this._eventid).regionId()

Get region ID of Player/Leader:
JavaScript:
$gamePlayer.regionId()

Get region ID of follower 1 (Second in the list of menu):
JavaScript:
$gamePlayer.followers().follower(1).regionId()

Get region ID of follower 2:
JavaScript:
$gamePlayer.followers().follower(2).regionId()

Get region ID of follower 3:
JavaScript:
$gamePlayer.followers().follower(3).regionId()

I may have missed something, as I am away from my computer.

I appreciate if you can return to us with feedback.

References:

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-have-a-conditional-event-for-a-maps-encounters.136806/