(HELP RMXP) Oldschool Menu script ERROR

hello i use this script in my project credits to Wecoc for doing it

found in: Oldschool Menu - Chaos Project
1581275810593.jpeg

The menu is displayed in a similar way as the message window in a very simple and oldschool format.
the script works well but when I start a battle and I get into the skills it happens:

E7EhFk6.png



I soon thought it was a conflict with another script so I put it in an empty project
and decided to test it but it took me the same error message


I really wanted to be able to fix this but I'm not very good with scripts

who can help me thank you in advance
You must have copy pasted it badly. It works fine for me.
so I don't know what I'm doing wrong because I've copied it several times and the error persists

whenever I select the 'skill' option in battles the game breaks
You're right, it's reproducible. There's actually a lot more wrong with the script than just that though--I won't go into the details since you're not a scripter. The fact that fixing one bug reveals another just "opens the can of worms" that I'm not willing to explore.

I advise you don't use this script. It's a shame because I know Wecoc has done better before (like MV Doodads re-imagined for XP, though there were some bad coding practices there too).
I found an old version of this script

found in: Mundo Maker - Menu OldSchool



in this version the other windows like equip, items, skills, save, or status have not been modified except the main menu, which avoided the previous bug

so i will stay with him Thanks a lot for the help!

Original thread: https://forums.rpgmakerweb.com/threads/help-rmxp-oldschool-menu-script-error.118080/