adding a state when tp is full...

Can anyone talk me through how to do this? When the tp bar is full, I'd like a state to added. Is this possible?
Add this on the actor, class or skill notebox:


<passive state: X, tp equal 100>


X is the ID of the state to be added.
Thanks for the answer.

Original thread: https://forums.rpgmakerweb.com/threads/adding-a-state-when-tp-is-full.56837/