All pastes #764020 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-06 22:05 UTC
rendered paste body
bind pub - !test pub:test

proc pub:test {nick uhost hand chan arg} {
  set arg [split $arg " "]
  if {[set f [lindex $arg 0]]==""} {
    putserv "privmsg $chan :Type !test this"
  } elseif {$f=="this"} {
    putserv "privmsg $chan :Thanks you $nick, for typing \"!test this\""
  }
}