I'm not sure if this is even possible, but

I'm thinking of making a code that, when you press a button, clears all chat messages and doesn't display new ones until you press another button.

It'd be great for people with nosy parents (like a lot of my friends)

If I could get help on how to do this, I'd appreciate it XD

Maybe there's some sort of timer that counts down, and when it reaches 0 it removes the message, so, keeping that at 0 should work right?