mIRC Homepage
Posted By: KingTomato Remotes inability to save empty files - 30/10/03 05:01 AM
While playing with the remotes, and *maybe* taking another attempt at making a new script I came accross this one flaw. You cannot save an empty remote file as a name, until there is some data in it. Now before you say "why do you need to save an empty file", the reasoning is simple. I was trying to get organized first off by just making the files first, then modify them. Example, I wanted to start off my script with files I thought I would make such as theme.mrc, events.mrc, and script00.mrc. Well, as i started to save them, I noticed mIRC doesn't decide to do so. I had to resort to just putting a semicolon in the file and then saving.

At first I thought maybe this was an intentional action on Khaled's part. Maybe Khaled was thinking "why would anyone ant to save an empty file", but then I started to question this when i noticed "Editing <filename>" on the top left of the editor. This, to me, means that mIRC says it saved it as file <filename> and I'm now editing it.

Maybe it's just me.. But I did confirm its actions on 6.1 and 6.12 (didn't test 6.11, but can only assume).
Posted By: cold Re: Remotes inability to save empty files - 30/10/03 04:37 PM
I just confirmed this behaviour here.
Personally, I'd simply choose to do "//write -c filename | load -rs filename" instead. But I agree the current behaviour doesn't sound logical.
Posted By: lammkott Re: Remotes inability to save empty files - 30/10/03 06:20 PM
I agree. I too, when starting a new script, organize the files by creating empty ones beforehand.
Posted By: pheonix Re: Remotes inability to save empty files - 30/10/03 06:44 PM
i agree, that will save me making the file using notepad smile
© mIRC Discussion Forums