Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
I get a script hanging error when I put that second script over main so I thought of what the script is supposed to do and I put it directly below the Window_ scripts and it seems to be working. :-D Thank you and it'll be a pleasure giving all three of you credit.
Edit: Whenever it reads a windows refresh method it says "undefined method "clear""
The second one goes directly above "Main". Which would put it below all the other windows. The first one however needs to immediately proceed "Window_Base". Here's a demo with the script's placed in the proper locations. And I quickly tested the viewport code by cutting the command window in the Title screen in half. I hope this helps you out.
I placed everything in the correct place, it turns out there were some compatibility issues with another script I had. I got rid of it and now it doesn't hang but I'm still getting some problems. Windows that slide into view from off screen don't animate so they stay off screen but only if they slide horizontally, vertical sliding windows work and I still get a problems with Self.contents.clear