Does a script use [enemy] and [localsw] as a comment? Also, NoMethodError?

I assume the former is not a default... and...

Game_rlDotrQYjH.png
I would like you to start over.
I have no idea what you want, other than help with the script that is giving you the error message.
Retitle your thread. Make it a meaningful title, not asking questions or cryptic clues.
When you have an error with a script you should always link to the script so that people can look at the code and not have to look for it. In fact you didn't even mention what the script is.
What is localsw?
what script is reading enemy?

When you get a no method error it means that the script was looking for a mthod in the class where the code was currently running but could not find the method. It may be bad coding, a missing core script, an overwrite somewhere that is blocking access to the method. Not sure I understand that one myself, but I've had instances where the method was there but it wasn't looking in the correct class.
Or it could be something else entirely.
That's what I'd like to know... the name of the scripts. I've only seen those words in between [] and would like to know how they function.

Line 50 has
bob = @page.reset_ss if bob == "" or bob.include? "0"
the name of the script is between the '' - at least the name it was given by the person who installed the script (Reset Self Switch)

and the errors basically mean that the commands given to the script are wrong or missing data.

For more info we would need info on where and how you got any of that.
Overcame the error by fixing some transfer error, and removing an item condition (which is strange as neither of them have anything to do with self switches...)

Does no one know about the [] commented. though?
No default scripts read comments.
So, I assume still no one knows which scripts do use those...
What you should assume is that you still haven't given enough information for anyone to have a clue what your issue is or which scripts you're using. We can't see your project, only you can. We only know what you screenshot or explain to us.

And you keep referring to a "[]" thing, but literally the only instance of that I'm seeing in this topic is you asking what the "[]" thing is. Can you elaborate on what you mean by that?
The words in between [ and ]... and VXA has far too many in the script editor to list (or screenshot, it's a window that can't even be maximized)... could it be Game_Enemy possibly, though? I don't see anything else that might be relevant...
What people are saying is the default scripts don't use event comments, so you need to be naming any scripts you've imported into your project that are not default.
Also, when you have almost 300 posts on this forum, you don't really have an excuse to continue to write one sentence queries. When people are saying more information, asking cryptic questions isn't going to help anyone help you. Give all of the relevant information up front so people don't have to keep pulling teeth to try and see what's happening in your project.
The words in between [ and ]... and VXA has far too many in the script editor to list (or screenshot, it's a window that can't even be maximized)... could it be Game_Enemy possibly, though? I don't see anything else that might be relevant...
This doesn't help at all. [enemy] and [localsw] are not part of the default scripts in any way, and your post hasn't clarified where you're even seeing these to ask the question in the first place. They weren't part of the error you screenshotted.
Google searching says [localsw] has to do with Khas' Sapphire Action System IV

and the "Reset Self Switch" script appears to be from here

Amazing that OP makes no reference to this anywhere...

EDIT: So the reset_ss error comes from the fact that at least one event on the map has unsatisfied page conditions on all its pages and no <resetss: X> comment on its first page, so Game_Event#find_proper_page is unable to find a page to assign, leaving @page as nil. This script needs to be fixed to account for such an edge-case.
Amazing that OP makes no reference to this anywhere...
It's amazing the OP makes no reference to a question or answers to questions either.
I stopped trying to help a while ago. Just too chaotic.
From the varied topics that have been made by the OP recently, it makes me think he/she is just taking a bunch of games from other people and modifying them or trying to improve them and getting into issues which he/she has no idea what to do about because he/she did not put those scripts or functions into the game. How could you not tell us what the script is, if you were the one that put it in?
I don't know why you'd assume I put them there (or, indeed, even more bizarrely 'laugh') - it is as you now deduced; don't let that discourage you from adding in, though.

[localsw] was found, what about [enemy], though? Not Game_Enemy, I assume?
I'm laughing because this is ridiculous. 14 replies in and you're now getting mad at people because YOU won't provide details or look through your own scripts. The pattern I'm seeing in your threads is that you write the vaguest OP ever, and leave everyone to guess what you want. When people get frustrated and beg you to just tell them, you get mad at them for some reason. I'm not a coder, but even I know basic question-asking etiquette. Again. 268 posts. Please learn how this works.
I certainly did not get 'mad' (and for someone complaining about vagueness...), and how could I ever search through hundreds of lines of code... I thought those are what questions are for.
[localsw] was found, what about [enemy], though?
It's also from Sapphire Action System.
Spoiler
1641947230851.png
Do you happen to know where the numbered enemies are stored? I took a look at all of Khas' scripts and couldn't find them...
Why are you looking for them? If your game uses those in comments, it's because YOU added them for a script that YOU put into your game. Why do you ask us to tell you what scripts those are when you are the one who added them and who can search for them?
By 'deduce' earlier I meant the earlier statement was correct, Shaz...

Original thread: https://forums.rpgmakerweb.com/threads/does-a-script-use-enemy-and-localsw-as-a-comment-also-nomethoderror.143826/