MZ @type of map Event

Hi!
I was wondering if it was possible to make plugin command argument look like current map's events list.
In other words: is there an @type that makes argument look like the events list.

events_list.png


What I really want to do is access map events (characters) with plugin commands.
Like, call plugin command XYZ, specifying a map event as parameter.

I realise that I could just leave the argument as integer and handle it the way it normally is in javascript,
but I was wondering if there is more user-friendly way for it.
You can get a similar list using:
JavaScript:
/*
 * @type select
 * @option Player
 * @option This Event
 * @option bla
 */
but I'm not aware of an easy way to access the events of the current map.

My solution was to split this into 2 arguments:
JavaScript:
/*
 * @arg targetSelector
 * @text Target
 * @desc Where the speech bubble will be displayed.
 * @type select
 * @option This event
 * @option Player
 * @option Event
 * @option Event by variable
 * @option Follower
 * @option Follower by variable
 * @default This event
 * 
 * @arg targetSelectorId
 * @parent target
 * @text Target ID
 * @desc The ID of the event, follower, or variable to select.
 *       Note: The first follower has an ID of 0.
 * @type number
 * @default 1
 */
far from optimal.

I'm definitely looking forward to seeing a better solution.

Original thread: https://forums.rpgmakerweb.com/threads/type-of-map-event.142260/