when i make a script i can’t open it.it show me another window.
Try using Monodevelop to open the file. Javascipt in unity is not the same as web JavaScript.
IT IS ON MONODEVELOP