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...") |
(No difference)
|
Revision as of 09:25, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$lines(filename) Returns the total number of lines in the specified text file.
Synopsis
$lines(filename)
Paramters
Filename = Will be the given path with the filename that you want to use for.
Properties
None
Example
//echo -a $lines(readme.txt)
It will return the total number of the hole lines that the "readme.txt" file has.
NOTE: If you specify an non text file (for example .exe or .png) the result is not gonna be correct, also if the file doesn't exist it will return 0.
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.