alias read {
if ($1) {
var %r = 1
while ($ini(file.ini,$1,%r)) {
echo -s $+($v1,=,$readini(file.ini,$1,$v1))
inc %r
}
}
else {
.play -s file.ini 1500
}
}
Quote:
/read <section>
will read all the topics under the section. If no $1 is specified, it'll play all the sections via your status window. Change file.ini to your actual ini file name.