Way to search for specific event commands?

I know you can use the Event Searcher to find specific events, but is there a way for me to find every event with a certain event command in it?
Theres a certain BGS thats causing problems (game crashes because the file is corrupted) and I want to find every instance in which I used that event command and switch it.


Thanks
not that I know of inside the maker, but there is a way to do that outside of it.


All data is stored in json files, and those can be opened in any text editor. Use a text editor that can handle multiple files (for example textpad), open all datafiles of your project in that editor and then search for the name of the BGS. That should list all maps that contain events with the sound and might even give enough help to know which event on the map.
Perfect, thank you.
Can't you just replace the corrupted file with a non-corrupted file with the same name?

Original thread: https://forums.rpgmakerweb.com/threads/way-to-search-for-specific-event-commands.70823/