I'm not one to really deal with the INPUT remote much, but try this:
---
on *:input:#:if ($cmdbox && $me isop # && $istok($ops,#,32)) { .ops $1- | halt }
alias ops {
  if ($isid) { return #channel1 #channel2 ... channel8675309 }
  if ($istok(#chan1 #chan2 #chan3,#,32)) {
    tokenize 32 11,1 ¯ $+(@,#) ¯  $1- 
    .notice $+(@,#) $1- | echo $color(notice).dd -t # $1-
  }
  else {
    .notice $+(@,#) 11,1 ¯ $+([@,#) MSG] ¯  $1-
    echo $color(notice).dd -t # 8[@ MSG]1 $1-
  }
}
---
Just copy/paste what you see into the remotes, and see if that doesn't work. On the line that has "if ($isid)", put a complete list of rooms there for the "INPUT" to be valid in. Seperate with spaces. It'll make it easier to add/remove rooms to be valid in.