It works perfect here.
In alt+o -> irc -> messages -> quit message, i put: $read(text\quitmsg.txt)
Then in my mIRC folder, I made a folder named text, and put a file named quitmsg.txt in it, with a couple of lines.
Then upon testing, it gave each time a random line from the file after issuing a /quit.
Greets