Where did you create the text file? It should be in Unicode encoding, not UTF-8, although that's also a Unicode encoding.
I did it, but it didn't work. I even removed the slash, as "Dolgy" recommended, but it still doesn't work. The funny thing is that even this command doesn't work, even though, as I wrote earlier, even a friend said that I did everything correctly:
SetObjectEnabled("dolmen1", false);
The only command that worked for me is:
SetPlayerStartResources(1, 0, 0, 0, 0, 0, 0, 5000);
But this is the first script I wrote for the map, and after that, it seems that none of the scripts I add work anymore.
I decided to try something, and I went into the editor -> my map -> Map Properties -> Script -> I clicked the Script button, and the editor immediately crashed. But as I understand it, this is a common occurrence for the regular editor.