I've done everything correctly.
I've been writing bits of script here and their for weeks, click ok on the script editor to save what i've done, carry on chatting.. whatever, the script editor is never open when i close mIRC, the same as this time.
The file is saved while i'm using it, soon as i closed mIRC and reopened it *GONE* down to a few lines.

C:\vexed\