From WikiChip
Difference between revisions of "mirc/identifiers/$lines"
(Created page with " {{mirc title|$lines Identifier}}'''$lines(filename)''' Returns the total number of lines in the specified text file. == Synopsis == <source lang="mIRC"> $lines(filename)</s...") |
|||
Line 1: | Line 1: | ||
− | {{mirc title|$lines Identifier}}'''$lines | + | {{mirc title|$lines Identifier}}'''$lines''' Returns the total number of lines in the specified text file. |
== Synopsis == | == Synopsis == | ||
Line 9: | Line 9: | ||
== Paramters == | == Paramters == | ||
− | '''Filename''' = '' | + | '''Filename''' = ''The complete filename you want to know the total number of.'' |
== Properties == | == Properties == | ||
Line 18: | Line 18: | ||
<source lang="mIRC">//echo -a $lines(readme.txt)</source> | <source lang="mIRC">//echo -a $lines(readme.txt)</source> | ||
− | + | will return the total number of lines in the relative filename readme.txt. | |
− | |||
− | |||
== Compatibility == | == Compatibility == |
Revision as of 13:10, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$lines Returns the total number of lines in the specified text file.
Synopsis
$lines(filename)
Paramters
Filename = The complete filename you want to know the total number of.
Properties
None
Example
//echo -a $lines(readme.txt)
will return the total number of lines in the relative filename readme.txt.
Compatibility
Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.