you should have a drop down list that shows the channels ur on
var %x = 1 while (%x <= $chan(0)) { did -a name <id of drop down> $chan(%x) inc %x }
then you can do
mode $did(name,id).seltext +/-<mode>