mIRC Home    About    Download    Register    News    Help

Topic Options
#199047 - 08/05/08 08:48 AM how to read txt file and then msg it to a nick
chaosbaby Offline
Bowl of petunias

Registered: 08/05/08
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.


Edited by chaosbaby (08/05/08 08:49 AM)

Top
#199048 - 08/05/08 09:28 AM Re: how to read txt file and then msg it to a nick [Re: chaosbaby]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
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"

Top
#199050 - 08/05/08 10:17 AM Re: how to read txt file and then msg it to a nick [Re: argv0]
chaosbaby Offline
Bowl of petunias

Registered: 08/05/08
Posts: 2
@argv0
tnx a lot...i got it working...thank u sooo much laugh


Edited by chaosbaby (08/05/08 10:17 AM)

Top