Use $iif to make a condition:
menu channel {
iif($chan == #yourchannel,my popup) : echo -a my popup!
}
didn't work, in the menu it just appeared with the 'iif($chan == #yourchannel,my popup) ' (i changed the # to my channel dw, but still just popped up with it.