set rchannel "#restricted"
set message {
first line
second line
third line
}

bind pub - !trigger bnc:pub
proc bnc:proc {nick uhost hand chan text} {
 if {[lsearch -exact [string tolower $::rchannel] [string tolower $chan]] != -1} {
  foreach lines [split $::message \n] {
   puthelp "PRIVMSG $nick :$lines"
  }
 }
}