Force action, torment, and encore states

Hey! I was hoping to get some help with understanding how to implement forced actions.

I'm trying to make two states:
1. Force a target to use the same skill it used last turn.
2. Prevent a target from using the same skill it used last turn.

Any help would be greatly appreciated!

Original thread: https://forums.rpgmakerweb.com/threads/force-action-torment-and-encore-states.167893/