From WikiChip
Difference between revisions of "mirc/identifiers/$readini"
(Created page with "{{mirc title|$readini Identifier}}The '''$readini''' returns the associated value of the item name for the given topic in an INI structure disk file == Synopsis == <pre>$read...") |
(→Synopsis) |
||
Line 2: | Line 2: | ||
== Synopsis == | == Synopsis == | ||
− | < | + | <source lang="mIRC">$readini(filename, np, topic, item)</source> |
+ | |||
+ | |||
Legacy syntax: | Legacy syntax: | ||
− | $readini [switches] topic item</pre> | + | <pre>$readini [switches] topic item</pre> |
== Parameters == | == Parameters == |
Revision as of 08:21, 7 October 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $readini returns the associated value of the item name for the given topic in an INI structure disk file
Synopsis
$readini(filename, np, topic, item)
Legacy syntax:
$readini [switches] topic item
Parameters
- filename - The file from which text is returned
- np - switches, 'n' = non evaluation of line, 'p' = treats command pipe seperator as code instead of plain text, same as $read's switches
Switches
Notes:
- All searches are case-insensitive.
- Undocumented legacy syntax can be used where parameters follow the identifier without being enclosed within quotes.
Examples
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.