All pastes #392046 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-12 16:47 UTC
rendered paste body

set tv(perms) "-|-"

bind pub $tv(perms) !tv pubshowinfo

proc showinfo {t c} {
  putserv "PRIVMSG $c :This is $t"
  if {![string length $t]} {
    return "Error: must specify a show"
  }



  return "OK"
}

proc pubshowinfo {n u h c t} {
  set mystr [showinfo $t $c]
  putserv "PRIVMSG $c :$mystr"
}