Sure, it will be a variable just like any other. If you call the variable "the_channel", then in the config file put:
set the_channel #sheep
And in your script, do this:
proc someproc {} {
global the_channel
putserv "PRIVMSG $the_channel :sheep rule!"
}