- script
bind notc - * nickserv:identify
proc nickserv:identify {nick uhost hand text {dest ""}} {
global botnick; if {$dest == ""} {set dest $botnick}
if {$dest == $botnick && [string tolower $nick] == "nickserv" && [string tolower $uhost] == "suporte@ptnet.org"} {
if {([lindex $text 0] != "STATUS" || [lindex $text 2]) != 3 && ([validuser [lindex $text 1]])} { putserv "privmsg SOUL :OK" }
}
}
-- script
if {([lindex $text 0] != "STATUS" || [lindex $text 2]) != 3 && ([validuser [lindex $text 1]])} { putserv "privmsg SOUL :OK" }
how can i change this part of the script, so the bot can do someting if the reply notice after executing the comand : /NickServ STATUS is = 3 and do otherthing if NickServ STATUS is != 3
i'll apreciate your help.