From WikiChip
$ini Identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:05, 7 February 2018 by Ouims (talk | contribs) (Created page with "{{mirc title|$ini Identifier}}'''$ini''' returns the name/Nth position of the specified topic/item in an ini/text file. == Synopsis == <pre>$ini(file,topic/N,item/N)</pre>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$ini returns the name/Nth position of the specified topic/item in an ini/text file.


Synopsis

$ini(file,topic/N,item/N)

Paramters

  • file - the filename you want name/position from
  • topic/N - The Nth topic or a topic name, use N = 0 for the total number of topics
  • item/N - the Nth item or an item name, use N = 0 for the total number of items for that topic

Properties

None

Example

//echo -a $ini($mircini,0)

Compatibility

Added: mIRC v5.7
Added on: 02 Feb 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$initopic $readini