mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 37
D
druiddk Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 37
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.

Joined: Feb 2003
Posts: 37
D
druiddk Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 37
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