[RMXP] disable menu commands script error

I'm making a game where I don't need the equip,status or skill commands.
I know I can disable the save with an event,and all the tips I've
seen to do it were for vx or mv,I only saw one from 12 years ago for xp
and I was so desperate I tried using it,but I have no coding experience
at all and I can't see why it doesn't work

1685650134679.png

Also,when I try to playtest,It says line 139 has a syntax error.
Please someone tell me why it doesnt work or tell me another way to disable them 🙁
I might be a bit biased but I like this script for disabling unwanted menu commands: https://forums.rpgmakerweb.com/index.php?threads/menu-command-manager.45303/
First of all you forgot to add an end to that condition right below the cancel sound.

By the way, it should have been a buzzer sound.

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-disable-menu-commands-script-error.157932/