All pastes #568354 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-15 14:06 UTC
rendered paste body
set flagsm "m|m"

bind pub -|- !mj m:j
proc m:j {nick uhost hand channel arg} {
global flagsm nk nb x n
if {[matchattr $hand $flagsm $channel]} {
set nk [lindex $arg 1]

set nb [lrange $arg 2 end]
set x 0
set n $nb
while {$x<$n} {
  putserv "privmsg $chan :$nk $nb"
  incr x
  incr n
}
}
}