Alrighty, I'm working for a dialog to save the channels into a list, the list loads fine, no loops that cause mirc to freeze, just when you try to add something, it NEVER saves, and no errors record. On Dialog
Code:
on *:dialog:cmd4options:7:sclick: {
if ($did(cmd4options,6).text) {
var %i 1
while ($readini(cmd4vars.ini,chans,%i)) {
inc %i
}
writeini cmd4vars.ini chans %i $did(cmd4options,6,1).text
did -r cmd4options 6
did -a cmd4options 4 $readini(cmd4vars.ini,chans,%i)
}
}