this is excelent code !

but it has some bug (imo)
i specified that "line 20" is written on line 20 :P

and i get this in .txt file:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

line 20


(numbers from 1-20 i wrote myself AFTER)
so as you can see there are some skiiped lines...
and even if it starts with line 0-xx again there is 1 line skipped...

and i made test:

/writeline test.txt 5 line 5
/writeline test.txt 6 line 6
/writeline test.txt 7 line 7

result is:

only "line 6" and "line 7" were written...

any way to fix all this ?
btw i love this code; coz mirc's handeling with /write sux :P
and IMO it should be working as you programmed this code...

should this be in feature suggestions maybe ?

Last edited by Wragg; 21/11/04 10:51 AM.