I did read what you wrote, and I responded "They both work here"

It created and wrote to the file here, but $isfile and $read seem to be the ones failing rather than the /write command.

mIRC 6.34 on XP Pro