All pastes #391418 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-12 03:31 UTC
rendered paste body
proc callback {input} {

        putserv "PRIVMSG #channel :Succeeded."
}

.
.
.
.

if {[catch { set result [bgexec $postingCmd callback] }]} {
   putserv "NOTICE $nick :Failed for some reason"
} else {
   putserv "NOTICE $nick :Started"
}