Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Cycling through an ini file.
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Cycling through an ini file.
#
250294
08/01/15
09:08 AM
Joined:
Jan 2015
Posts: 1
M
Mishappp
OP
Mostly harmless
OP
Mishappp
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?
Copy Link to Clipboard
Re: Cycling through an ini file.
Mishappp
#
250296
08/01/15
10:29 AM
Joined:
Feb 2003
Posts: 2,812
Raccoon
Hoopy frood
Raccoon
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!
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage