My example:
Let's say I'm naming a variable, right?
I name it something like, "moist boy".
Will there be any problems with RPG Maker if I don't put an underscore where the space should be? ("moist_boy")
Not variables or switches, but it might be a good idea to do it with your resources. I've seen some posts here from people who say their game can't find resources after deployment, and naming standards is one of the reasons.
Most windows systems don't have problems with that, since they substitute space for %20. However, it is better to do it anyway and mandatory to do if you want to export the game to other platforms.
Edit: I read the question wrong. For switches and variables etc. it is not necessary, since the game takes it as a string. But as others have said, resources are necessary.
Since I use Javascript a lot, I've gotten used to naming things in javascript format, which is first word all letters lowercase and the rest capitalised:
firstVariable
secondVariable
thisIsAnAwesomeWariableBecauseItHasWInsteadOfV
etc 😀
This is a BIG problem for me because I'm mid-way through making an RPG project right now and a large amount of my maps have events using place holder or their intended sprites all without spaces in their name. I've tried renaming the resource that they use for the image and it obviously doesn't show for them, is there a way to quickly fix that without having to go through every single event and change their image by hand?
Instead of replacing every space with an underscore, just search for your old filenames and replace them with the new ones. While that means you have to search for each file separately, it's still faster than going though all your events in the editor manually or trying to separate the spaces in the dialogue from the spaces in the filenames. Also, make sure to back up your .json files before editing them directly - there's just too much that can accidently go wrong.