Auto-translated
You see, when I open the script editor, the entire editor crashes.
Ment, I found some link to mapScript in map.xdb, what should I do with it?
There is a way to open scripts in the editor. For this, you need an extended editor. So: open any official map in the editor and quickly go to the scripts. Then, go to the created map and write something, and quickly exit. This works for me personally.