bind notc - "*STATUS*" ns:status
proc ns:status { nick uhost hand text {dest ""} } {
global botnick
if {($nick == NickServ) && {$dest == $botnick} {
return 0
# This suppose not to log the bind which calls this proc!!!
}
}
your script works well: it doesn't do anything if NickServ send a *STATUS* to your eggdrop...
If you want the eggdrop answers but not echoes in console, you'd better try .help console
I can't understand why it says the message to +m. Of course the .console command is a solution, but I want to see ALL prive messages to the bot, but NOT some of these, that I have set.
for example I have written a script which checks the fileservers of a chan by writing @find *.txt to this chan. The fileservers sends a prive msg to the bot and the only I want is not to see this message... (I want to see all the other prive messages)
The "message" from NickServ looks like a NOTICE to me. To exempt some users from logging you need to override the internal raw binds passing the incoming traffic to the internal message parser. (use a raw bind to do this) Another way would be to set trigger-on-ignore to 1 and ignore the users you don't want logged.
Btw: notc binds don't care about the return value. Check the part about "RETURN VALUES" in tcl-commands.doc