Well,,,,,,if it is actually named........scriptname.sqs, then it will be an sqs file.
Thing to watch for is saving it as scriptname.sqs when the file save type is still set on text. In this case you will have scriptname.sqs.txt
However if it is named scriptname.sqs, then it will be an sqs file. An sqs file is really only a text file anyway, but it must have the sqs extension to work as a script file with OFP..
Planck