All pastes #554688 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-10 07:10 UTC
rendered paste body
bind test - !test pub:test

proc pub:test {nick uhost handle chan arg} {
 set binary {/tmp/list.sh}
 set section [lindex $arg 0]
 foreach line [split [exec $binary $section] "\n"] {
      putquick "PRIVMSG $chan :$line"
 }
}