There is one shortcut one can do by taking advantage of mIRC's built-in quit message box via its options under IRC -> Messages. In the box, simply put:
$iif($read(test.txt),$v1,$1-)
And when you don't want any quit message, just clear the box.
At any rate, good, clean coding. :)
Jethro you are a champ
Jethro you are a champ