mIRC Home    About    Download    Register    News    Help

Print Thread
#144127 06/03/06 08:15 PM
Joined: Feb 2006
Posts: 22
B
BIGZIPZ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2006
Posts: 22
How one would scan a text file, which say may contain the following:

red cow
blue house
orange dog

And then have the script echo a given line, perhaps a line beginning with red in the text file.

I have read the /help file on write commands and I cannot for the life of me figure this one out.

Thanks you very much in advance

#144128 06/03/06 08:24 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
/help $read

reference in that section usage of wildcards

#144129 06/03/06 08:25 PM
Joined: Feb 2006
Posts: 22
B
BIGZIPZ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2006
Posts: 22
thanks alot, cant believe i missed that one.

thanks

#144130 07/03/06 01:50 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
You can also use the /filter command.

/help /filter

-genius_at_work


Link Copied to Clipboard