I need the command to read all the lines of an ini and return that information to the channel. Can someone help me?
The file has several lines written.
This does an echo instead of sending to channel, since that could cause you to be disconnected for flooding
//var %file $mircini , %section# 1 | while ($ini(%file,%section#)) { var %section $v1 , %item# 1 | while ($ini(%file,%section,%item#)) { var %item $v1 | echo -a [section] %section item= %item value: $readini(%file,n,%section,%item) | inc %item# } | echo -a === | inc -s %section# }