also, sorry for doubble posting but:
some if\'s/else\'s can be remade to $iif\'s.
there was some grammar misstakes in the code, and at the menu u dont need /
I would also suggest adding a tab, or a menu, and then add a new part on top of this dialog, to be able to exclude channels, incase you dont want to use \"ame\".
GL.