Well, if you changed the title, it would be a whole new away reason. Maybe block that and tell the user to create a NEW one. As far as editing it, then adding without replacing to the list, I would suggest making an alias that fills the list. Such as awaylist.fill. And call that after you add or edit something. This way instead of adding and deleting from the list after every change, just add/edit the info in the ini file with the dialog, then call the alias at the end to read from the ini file and fill in the list with the corrected stuff.

Btw: you may run into a problem with your tokens if an user adds a away title more than 1 word. You may want to limit to one word, or add to the ini file seperated with a unique char, like $cr. Then run your $gettok with $cr (which is 13). Just a thought.


-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net