This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
ReaLz
- Op
- Posts: 121
- Joined: Sat Oct 19, 2002 5:33 am
- Location: Athens, Greece
Post
by ReaLz »
Code: Select all
bind notc - * flooder
proc flooder {nick uhost hand text dest} {
set first [lindex $text 0]
set banadded [lindex $text 2]
if {$nick == X} {
if {[string match "*Specified ban*" $text]} { return 0 }
if {[string match "*Added ban*" $text]} {
putlog "Auto-X-Ban: Added $banadded to #hellas banlist."
return 0
}
}
}
I thought that with the "return 0" I can make the bot not to display the original message of X.
How can I do this?
«A fantastic spaghetti is a spaghetti that does not exist»
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
There is no feature like this for the NOTC bind.
See below the list binds, in tcl-commands.doc.
It may be worth using a RAW bind, so long as you only stop those you need to, and no more.