| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sun Aug 31, 2008 10:32 am Post subject: part from channel and remove flag |
|
|
stupid script and makes me feeling bad :/
| Code: | set flagchannel "#mychannel"
set mychannel "#mychannel"
bind part - flag_part
proc flag_part {nick uhost channel } {
global flagchannel mychannel
if { $flagchannel == $mychannel } {
chattr $nick -V
}
} |
[16:30] Tcl error [flag_part]: wrong # args: should be "flag_part nick uhost channel"
what args i must put.. i want to make that script.. when someone part's from specific channel bot remove the (+V) flag
thnx. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Aug 31, 2008 4:53 pm Post subject: |
|
|
| Quote: | 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 contai wildcards. If no part message is specified, msg will be set to "". |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|