mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2015
Posts: 1
M
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jan 2015
Posts: 1
I have an ini file set up like so.


[#channel.user]
data=value

[#channel.user2]
data=value

The command is invoked on user input !cycle,... etc

Is there a way to while loop through the entire ini file and change all the data value of every entry?

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
The $ini() function can iterate through your INI file, and used in conjunction with $readini() and /writeini can make the changes you're after.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard