Activating a common event once a state has ended

Hi everyone,

My goal here is, after removing an actor from battle - to return them after a certain amount of turns. I'd like to stay away from using the battle event window itself, as I'm using an ATB battle system which seems to mess with how RPG Maker MV interprets turns.

My idea is, to create a state that basically does nothing, and then use notetags in the state that will activate a common event when its duration has finished. This probably requires plugins, so if you're aware of any that would allow this (or any other methods) - please let me know.

EDIT: Worked this out.

For those that are interested, a common event can be called with Yanfly's Buffs & States Core under the <Custom Remove Effect> notetag, however I'm not sure it works with the other notetag headers.

Original thread: https://forums.rpgmakerweb.com/threads/activating-a-common-event-once-a-state-has-ended.88814/