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.
Help for those learning Tcl or writing their own scripts.
ultralord
Master
Posts: 255 Joined: Mon Nov 06, 2006 6:52 pm
Post
by ultralord » Sun Aug 31, 2008 10:32 am
stupid script and makes me feeling bad :/
Code: Select all
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.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Aug 31, 2008 4:53 pm
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 "".