Here goes:
Code: Select all
bind pub - !test lineread
proc lineread {nick host handle chan text} {
global prech homech
if {$chan == $homech} {
putserv "PRIVMSG $prech :$text" }
In this case the content of $text, since I want to use it in my second procedure.
-
My second procedure will read a specific line, which starts with [
My first thought was to use the \[*
Code: Select all
bind pubm - "$prech \[*" reread
after that I also tried /002\[ to no avail
Code: Select all
bind pubm - "$prech /002\[*" reread
Thanks in advance