mIRC Home    About    Download    Register    News    Help

Print Thread
how to read txt file and then msg it to a nick #199047 08/05/08 07:48 AM
Joined: May 2008
Posts: 2
C
chaosbaby Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: May 2008
Posts: 2
hi guys! im really really new to mirc scripting so i really have no idea how to do this. Here's what i want to do, when type /test on my mirc, it will start to read a txtfile then private msg the content of the txt file per line with a 3-5 seconds delay to a nick I specified. Is that even possible? tnx a lot in advance.

Last edited by chaosbaby; 08/05/08 07:49 AM.
Re: how to read txt file and then msg it to a nick [Re: chaosbaby] #199048 08/05/08 08:28 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
type /help /play (or /help Playing Files)

it's exactly what the command is for

/play NICKNAME file.txt 3000

That plays file.txt to NICKNAME with a 3000 millisecond (3 second) delay per line


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: how to read txt file and then msg it to a nick [Re: argv0] #199050 08/05/08 09:17 AM
Joined: May 2008
Posts: 2
C
chaosbaby Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: May 2008
Posts: 2
@argv0
tnx a lot...i got it working...thank u sooo much laugh

Last edited by chaosbaby; 08/05/08 09:17 AM.