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.
Old posts that have not been replied to for several years.
E
EvilKalaH
Post
by EvilKalaH » Fri May 31, 2002 4:21 pm
bind ctcp - ACTION pub_kick
proc pub_kick {nick uhost hand chan args} {
putserv "KICK $chan $nick :$1"
return 1
}
with the help from the other i came so far. new question
how do i know when they say /me is away on the chans ? i was thinking about tag $text like in the documentation both it didn't work then i thought about $1 and still it didn't work. Can someone help me?
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Fri May 31, 2002 8:46 pm
bind ctcp - ACTION pub_kick
proc pub_kick {nick uhost hand chan args} {
putserv "KICK $chan $nick :$1"
return 1
}
bind ctcp - ACTION pub_kick
proc pub_kick {nick uhost hand chan args} {
if {[string tolower $args] == "*away*"} {
putkick "$chan $nick :$text"
return 1
}
}
try that
Elen sila lúmenn' omentielvo
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Jun 05, 2002 11:55 am
While the above will work, I sugest that you do not use the variable args.
This has a special function in Tcl.
P
Phooka
Post
by Phooka » Thu Jun 13, 2002 12:46 pm
try switsching text with args