I don’t really understand…?
Changes in entities? How do you change entities?
The entities are only loaded when you first load your script. If you then change the map (bsp file) by building it again, you will need to reopen the script file to see those changes.
Do you get that error (it’s not really an error) when you open your script when ETScript is already open, or do you get that when you open ETScript, and it opens the last script automatically? Because if it’s the last, that is a bug.
When you save a script file, it not only saves the text to the script file, but it also saves a “filename_xml.xml” file in the same directory. This also stores the text, as well as the options for the editor, and the bookmarks etc.
When you select a script to open it, ETScript will first check if the XML file of that script exists. If it doesn’t, then it simply opens the script. If it does, then it opens the XML file (and loads the bookmarks etc). However, it is of course possible that you would edit your script outside of ETScript (notepad, etc) and if I would then let ETScript load the XML file, your changes would be gone. So I first check if the contents of the XML file and the actual script are the same. If they are not, I display this “error” to inform you that something has happened to cause the two files to become out of sync. If you choose to load the script file, you’re changes will be preserved, but bookmarks will be lost. If you choose the XML file, your bookmarks will be preserved but your changes will be gone…
Finally, ETScript does nothing with your PK3 files. It cannot read any script from the pk3 file.
You simply select a script, and that is the script it opens. It then looks for the BSP file (outside of a pk3 file) with the same name, and imports its entities.