From WikiChip
Difference between revisions of "mirc/identifiers/$readini"
(→Synopsis) |
(→Synopsis) |
||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
<source lang="mIRC">$readini(filename, np, topic, item)</source> | <source lang="mIRC">$readini(filename, np, topic, item)</source> | ||
− | |||
Legacy syntax: | Legacy syntax: |
Revision as of 10:35, 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.