Actually you can
i've done some of my scripting like that before.
What i do to get it is open a new file in Behaved then just save it blank. When its saved behaved makes a text file. open up the text file and put in your commands, then when you load the file in behaved you should see all the commands you just put in