The correct syntax is: $readini(filename, [np], section, item)

Let's say in a text file called "mirc.ini" there are lines like this:
Code
[about]
portable=yes
version=7.63
show=no

We need to find out in the section "about" version number in item "version".

An example of a command to check the response:
Code
//echo -a $readini(mirc.ini, n, about, version)

I recommend an excellent reference directory for help developers of their own scripts: https://en.wikichip.org/wiki/mirc/identifiers/$readini



🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples