From WikiChip
$ini Identifier - mIRC
< mirc‎ | identifiers

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


Synopsis[edit]

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

Paramters[edit]

  • 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[edit]

None

Examples[edit]

//echo -a $ini($mircini,0)
59
//echo -a $ini($mircini,dirs,0)
10
//echo -a $ini($mircini,dirs,1)
senddir
//echo -a $readini($mircini,dirs,$ini($mircini,dirs,1))
C:\Temp\

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list