$feof return 1 if the end of the file was reached from the last file access attempt in any script, 0 otherwise
//write -c test.txt test | fopen test test.txt | echo -a $fread(test) | echo -a $feof | echo -a > $fread(test) | echo -a $feof | fclose test | remove test.txt
Note that when reading a file line by line with $fread, you need one extra evaluation so that $feof is set to 1
Added: mIRC v6.1
Added on: 29 Aug 2003
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.