My channel is terrorised with lamers that floods the channel with notices.. So I want to bind notices that are sent to the channel..
like
Code: Select all
bind notice * "please*join*" antispam
Code: Select all
bind notice * "please*join*" antispam
Code: Select all
(7) NOTC (stackable) bind notc <flags> <mask> <proc> procname <nick> <user@host> <handle> <text> <dest> Description: dest will be a nickname (the bot's nickname, obviously) or a channel name. mask is matched against the entire notice and can contain wildcards. It is considered a breach of protocol to respond to a /notice on IRC, so this is intended for internal use (logging, etc.) only. Note that server notices do not trigger the NOTC bind. New Tcl procs should be declared as proc notcproc {nick uhost hand text {dest ""}} { global botnick; if {$dest == ""} {set dest $botnick} ... } for compatibility. Module: server