/help dialog .. then read what the diffrent functions doing.. you must trigger the "write" command somwhere, now your dialog list it.. and save the changes when closed.. but it dont actualy write the word you have added in your combo. you should read a bit about $did / did, and if it works on your combo, then use the code from that one and make LocutusofBorg's code a part of yours.. no need to rewrite everything.. i belive LocutusofBorg only made the part of the dialog that you had som problem with..

on *:dialog:comby:sclick:2: {
did -a $dname 4 %tempmessage $did(4)
}
on *:dialog:comby:sclick:3: {
did -o $dname 4 %tempmessage $did(4)
}
and what i can see the %var u using arent added in the dialog..
filename.txt $did(comby,4,%i).text
this should point you in the right way.. "i hope"
