mIRC Home    About    Download    Register    News    Help

Print Thread
#21607 30/04/03 10:52 AM
Joined: Apr 2003
Posts: 3
S
ST3G0 Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Apr 2003
Posts: 3
Is there a possibility to read with the Identifer $read serveral lines out of a textfile which start the same way ???

#21608 30/04/03 11:35 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Type /help /filter


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#21609 30/04/03 02:27 PM
Joined: Apr 2003
Posts: 3
S
ST3G0 Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Apr 2003
Posts: 3
Thx, I tried a bit with the filter-command, but I don't get the lines into a channel. I only get them into another text file. Can U explain me, how to get them into a channel window ?? THX

#21610 30/04/03 03:28 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You can /filter the results to a text file, as you did, then use /play #channel filename.txt to play the file to the channel. Something like this:
Code:
  filter -ffc inputfile.txt temp.txt *blah* 500
  .play #channel temp.txt
  .remove temp.txt
This will scan inputfile.txt for lines matching *blah* and output them to temp.txt. Then it'll play temp.txt to #channel with an interval of 500 milliseconds and delete temp.txt.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#21611 30/04/03 03:54 PM
Joined: Apr 2003
Posts: 3
S
ST3G0 Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Apr 2003
Posts: 3
ahh great.

THX


Link Copied to Clipboard