mIRC Home    About    Download    Register    News    Help

Print Thread
$read identifier does not work #256157 24/12/15 09:10 PM
Joined: Dec 2015
Posts: 5
C
Christian2501 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2015
Posts: 5
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.

Re: $read identifier does not work [Re: Christian2501] #256160 25/12/15 04:35 AM
Joined: Jan 2004
Posts: 1,317
L
Loki12583 Online
Hoopy frood
Online
Hoopy frood
L
Joined: Jan 2004
Posts: 1,317
Which directory? Program files? Use $mircdir instead.

Re: $read identifier does not work [Re: Christian2501] #256162 25/12/15 08:01 AM
Joined: May 2015
Posts: 249
splinny Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
Or try /write myfile.txt sometext


Dont give a fish - teach to fish!
Re: $read identifier does not work [Re: Christian2501] #256163 25/12/15 09:26 PM
Joined: Feb 2015
Posts: 19
Y
Y4kuzi Offline
Pikka bird
Offline
Pikka bird
Y
Joined: Feb 2015
Posts: 19
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().


ProvisionIRCd - advanced mIRC based IRC daemon.
http://www.provisionircd.tk
Re: $read identifier does not work [Re: Christian2501] #256171 26/12/15 10:30 PM
Joined: Nov 2015
Posts: 14
N
nanito Offline
Pikka bird
Offline
Pikka bird
N
Joined: Nov 2015
Posts: 14
in the status windows write:
Code:
//echo -a $mircdir


that's your main mirc directory. save your file overthere.