You're a windows user, right? open up your notepad and write in there
hint "this came from my script"
exitClick 'save as'
When saving make sure you select 'all files' as filetype from the drop down menu, or put quotation marks around the filename (""). The file name should extension should be .sqs. Make sure it's not .txt.sqs. If it is, it won't work
Save the file in your mission folder.
Go to editor. Insert a player unit and put in it's init field
[] exec "myscript.sqs"
The line "this came from my script" should pop up.