mIRC Home    About    Download    Register    News    Help

Print Thread
D
druiddk
druiddk
D
Okay so I have a file called distro-dupe.txt.

Theres 1 line in the file:
testrelease.feta-FISK

Now:
Code:
//echo -s $read(distro-dupe.txt, s, testrelease.feta-FISK)


Gives me $null :-(

Code:
//echo -s $read(distro-dupe.txt, w, testrelease.feta-FISK)

However works fine... problem with this is just then when there are very similar files the wildcard search catches them :-/

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
the s switck for $read searches fo a line starting with your matchtext then returns the rest of the line , as your searching for the complete line there is nothing else to return.

D
druiddk
druiddk
D
Ahh! :-)

That makes sence - I'll just make the /write write the same folder twice with a $chr(23) in between :P

Thanks!


Link Copied to Clipboard