Scripts are stored in an ASCII (plain text) format. Any text editor, such as Notepad, can create text files. If you choose a program such as Word or Wordpad to create scripts, you must save the file as a text file and not their native format.
To put it simply, a script is simply a list of commands, one-on-a-line, and then saved into a file. There are no prerequisites in script filenames except the file extension. The file extension relates to the language the script is created in. For VBScript scripts, this is .vbs, while for JScript, it is .js.