mIRC Home    About    Download    Register    News    Help

Print Thread
#43839 24/08/03 05:05 AM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
Is there a way to have a script that reads the number of lines in a .txt? Ive looked and couldnt find anything. I have a script that has facts and Id like a way to list the number of facts aka the number of lines.

Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
type /help $lines

from the help file :

$lines(filename)
Returns the total number of lines in the specified text file.

$lines(c:\irc\kicks.txt) returns the total number of lines in c:\irc\kicks.txt


Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
My god i missed it thank you

Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
your welcome


Link Copied to Clipboard