How to make a constant Guard state?

I am using a custom ATB system and a Guard mechanic is essential for the game I'm planning to make. However, I noticed that executing the Guard command makes you guard for one turn, and the guard state is removed when that character's turn is up again. I'd like to know how to make a constant Guard state, in which the character is always in a guarding state after executing the command. The state being removed of course by executing any other command like Attack, Item, or Skills/Magic. This means that even when the character's turn is up again, it would be possible to idle in the Action Menu and continue taking hits from the enemy while in a guarding state.
Have you tried using a passive state with the features you want? You could implement this either by assigning it to the actor on their tab, or by inflicting it at turn zero in the troop event. If you do the troop event option, you would probably want to use something like Yanfly's Base Troop Events so that you don't have to put it into each individual troop page.
@Kes he doesn't want the guard state automatic, he wants it to last longer after the guard command is used.

@bokunoyuki The guard state is exactly that, a state - which means all details on it are set in the state tab in the database, and that includes when it is removed (if at all, you can set it to never remove there)

However, to remove it by other commands might require either very tricky eventing or a script modification of your ATB system. That we can't help with without knowing which battlesystem you're using, so please link to the ATB Plugin if this info is not enough for you.
thanks for the responses, guys.

@Andar the script I'm using is the ATB system from DoubleX https://forums.rpgmakerweb.com/index.php?threads/doublex-rmmv-popularized-atb-core.51219/

There was a script for RPG Maker VX called the Spin Wait Gauge, and I'm trying to replicate some of that script since it's not available for MV, it's an old script and I can't find it anywhere now actually. And one of the features it had was a constant guard state, which I don't even believe was intentional, haha.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-constant-guard-state.75399/