mIRC Homepage
Posted By: Christian2501 $read identifier does not work - 24/12/15 09:10 PM
I have a .txt file in the main directory of mIRC but when I check the file with //echo -a $exists(myfile.txt) it returns $false and because of that the $read identifier doesn't work.

I also checked that the name was well written

¿why is this happening to me?

Thanks in advance.
Posted By: Loki12583 Re: $read identifier does not work - 25/12/15 04:35 AM
Which directory? Program files? Use $mircdir instead.
Posted By: splinny Re: $read identifier does not work - 25/12/15 08:01 AM
Or try /write myfile.txt sometext
Posted By: Y4kuzi Re: $read identifier does not work - 25/12/15 09:26 PM
Make sure the myfile.txt is in the same directory as mIRC.exe (same as $mircdir).
If it is not, you should provide the fullpath in $exists().
Posted By: nanito Re: $read identifier does not work - 26/12/15 10:30 PM
in the status windows write:
Code:
//echo -a $mircdir


that's your main mirc directory. save your file overthere.
© mIRC Discussion Forums