as a side note, you can access the first line when its a number with $read(filename,0) as mIRC will consider the number as indicated to be the number of lines in the text.
while I have never used the feature, my guess is to make reading a specific line faster in the file when mIRC knows in advance how many lines there are to read through. Maybe someone can illuminate this function?