$lines

From Scriptwiki
Revision as of 22:30, 26 November 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the total number of lines in the specified text file.

$lines(filename)

You can use this to loop through a file. Take a look at /while to get more information about it.