| View previous topic :: View next topic |
| Author |
Message |
.pt Halfop
Joined: 16 Nov 2005 Posts: 71
|
Posted: Sun May 28, 2006 1:18 pm Post subject: whats wrong with this? |
|
|
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. |
|
| Back to top |
|
 |
krimson Halfop

Joined: 19 Apr 2006 Posts: 86
|
Posted: Sun May 28, 2006 1:35 pm Post subject: |
|
|
it should be:
| Code: | bind part - "#channel *" part_chan1
proc part_chan1 {nick uhost hand channel {msg ""}} {
putserv "notice $nick :bla bla bla msg bla bla bla"
} |
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun May 28, 2006 6:35 pm Post subject: |
|
|
From ~doc/tcl-commands.doc:
| Quote: | (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 |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|