All pastes #422975 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-03 20:51 UTC
rendered paste body
assuming i have public line on channel like this:
-:: new reply to thread ::- some var text goes here

where the "new reply to thread" words are colored (but lets ignore that for a sec)

i'm trying to make a tcl that binds it (if it were plain text - no colors).
my attempt is:

[tcl]
bind pub -|- "-:: new reply to thread ::-" get_text_proc

proc get_text_proc { nick host handle channel text } {
     putserv "PRIVMSG Obi0ne : DEBUG CHECKPOINT: $text"	
}

[/tcl]