Changing Window Colors in Different Event

Hi guys! I want to change window colors in different events. For example blue window during dialogue, red window in other texts, etc. How can I do it?
for some changes you can simply use the change window color event command.

if that command is not enough, you would need a plugin to change the windowskin dynamically.
but the event command should be enough for your description.
for some changes you can simply use the change window color event command.

if that command is not enough, you would need a plugin to change the windowskin dynamically.
but the event command should be enough for your description.
thank you 🙂)

Original thread: https://forums.rpgmakerweb.com/threads/changing-window-colors-in-different-event.144928/