Open the script with an editor of your choice: Notepad++, VSCcode or just any text editor you find on your machine. What can help too is the Daz Studio Script IDE (Windows -> Panes -> Script IDE).