mIRC Home    About    Download    Register    News    Help

Print Thread
#7784 22/01/03 11:01 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
how can i have the $read command read every line of txt in a file?


Need amazing web design for low price: http://www.matrixn3t.net
#7785 22/01/03 12:28 PM
Joined: Dec 2002
Posts: 212
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
you mean read all the lines with one call to $read, or read the line by line?
if the second, use $read(filename,linenumber)
like $read(bla.txt,1)


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
#7786 22/01/03 06:52 PM
Joined: Jan 2003
Posts: 127
L
Vogon poet
Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
unset %l %line
:again
inc %l
set %line $read(C:\MircMod\Mirc\res\findx.txt,%l)
if ( %line != $null ) { goto again }
else goto end
:end

#7787 22/01/03 10:17 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
i cant get it to msg the lines to a person ( .msg $nick %p2p.line )


Need amazing web design for low price: http://www.matrixn3t.net
#7788 22/01/03 11:12 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Perhaps /play $nick C:\MircMod\Mirc\res\findx.txt


Link Copied to Clipboard