bind part - "#channel *" part_chan1
proc part_chan1 {nick uhost hand channel} {
putserv "notice $nick :bla bla bla msg bla bla bla"
}
tks in advance.
Code: Select all
bind part - "#channel *" part_chan1
proc part_chan1 {nick uhost hand channel {msg ""}} {
putserv "notice $nick :bla bla bla msg bla bla bla"
}
(9) PART (stackable)
bind part <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <msg>
Description: triggered by someone leaving the channel. The mask is
matched against "#channel nick!user@host" and can contain
wildcards. If no part message is specified, msg will be set
to "".
New Tcl procs should be declared as
proc partproc {nick uhost hand chan {msg ""}} { ... }
for compatibility.
Module: irc