Well, the end of the file is the position represented by the length of the file, here is a quick example:
Code:
alias test_seek {
write -c test $+(test,$crlf,test1,$crlf,test2,$crlf)
fopen test test
;$lof is the same as $file().size
fseek test $lof(test)
fwrite -n test test3
fclose test
}
Type /test_seek and then then type "/run notepad test" to see that the line "test3" has been added at the end
#mircscripting @ irc.swiftirc.net == the best mIRC help channel