read to manual to enable raw logging in partyline (.help console) or log file.arfer wrote:How/where do I look at raw server responses
Code: Select all
bind notc - * pToolsAopExists
.......................
..........................
if {[isbotnick $dest] && [string equal "ChanServ" $nick]} {
Code: Select all
if {[string match "*already exists on the * list*" $arg]} {
Code: Select all
bind notc - "*" test:notice
proc test:notice {nick uhost hand text {dest ""}} {
putlog "CATCHED NOTICE: From: $nick - To: $dest - Message: $text"
}
if i recall rightarfer wrote:Thanks De Kus ... sounds good
However, would you expand on your answer a little
How/where do I look at raw server responses
Thanks
Code: Select all
proc raw_server_notice {from key arg} {
#your stuff here
return 0;#required
}
bind raw - NOTICE raw_server_notice
Code: Select all
if {[string equal -nocase "chanserv" $nick]} {
Code: Select all
proc cflags::recordchanlev {nickname hostname handle arguments ****} {
variable flags
set from "${nickname}!${hostname}"
if {[regexp -nocase -- {^(Q!TheQBot@CServe.quakenet.org)$} $from]} {
# do stuff here
}
}
Code: Select all
if {[string equal "ChanServ!service@dal.net" "$nick!$uhost"]} {