Ok I got it to work, sort of.... here's the code
if ($did = 48) {
dialog -m away.editor away.editor
did -a away.editor 4 $did($dname,37).seltext
did -a away.editor 5 $gettok($readini(synaway.ini,AWAYS,$did($dname,37).seltext),1,32)
did -a away.editor 6 $gettok($readini(synaway.ini,AWAYS,$did($dname,37).seltext),2-,32)
}
The away's are in the ini in this format...
Sleep=
sleep i am currently sleeping, affRed is the Away Title,
Green is the nick suffix (ex. synth7|
sleep), and
Blue is the reason in the channel message. You can probably figure out the
/did commands with that info
However, after I click the "Save" button in the Editor, it adds a new entry under the last one, with the same info as the original one. How can make it either a) just edit the old one, or b) delete the old one and put the new one where it was.