namespace eval MyScript {
  set response "stats @ http://wtf.happened.to.my.eggdr0ps.net:23023/dnbradio"
  bind pub - "!stats" MyScript::respond
  proc respond {nick uhost hand chan text} {
    variable response
    puthelp "PRIVMSG #dnbradio :$response"
    return 1
  }
}

wanna turn teh first url into http://wtf.happened.to.my.eggdr0ps.net:23023/name_of_channel_trigger_was_called"
and
"PRIVMSG #dnbradio :$response" into "PRIVMSG channel_it_was_triggered_in :$response"