MV Include/Exclude/Forbid Targets by Tags

What I need is kind of two different but related things; the ability to selectively include, exclude, or forbid targets in combat while ignoring the built in scope function though use of note tags... I know that may seem a little cryptic so let me try to provide examples;

Include Target
Example actor tag:
Code:
<Apply Target Type: x, y, [string]>

Should do nothing on its own other than designate the actor as being of that target type.

Example skill tags:
Code:
<Effect Target Types: x, y, [string]>

Causes the skill to effect any targets of user specified type(s).

<Exclude Target Type: x, y, [string]>

Prevents the skill from effecting any targets of user specified type(s).

<Forbid Target Type: x, y, [string]>

Prevents the actor from being highlighted as a target.

That should be the bones of what I need but I can come up with more if you like... Most notable being a means to change what the ability dose depending on the target type and having a default "user" string that denotes the one using the ability, though it may be wise to include an option to disable this... I don't personally know who would disable it or why, but it seems one of those things.
Why do your examples have x and y in them?

I did something like this in my game so I could make a state that rendered the afflicted untargetable by certain spells (though it's incomplete – only works for "All" spells, because that was the only case I actually needed). But your request seems a bit different, so I don't think I could reuse that code…

Original thread: https://forums.rpgmakerweb.com/threads/include-exclude-forbid-targets-by-tags.183770/