By the use of a list and text document, this could be shortened by a lot. You might want to look into lists within dialogs and try using a text document rather then .ini in this case, if you're only going to have a list of channel in the file. Also, for a future note, look into while loops as they can save you a lot of typing.