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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Zeta
Voice
Posts: 16 Joined: Fri Apr 04, 2008 8:52 pm
Post
by Zeta » Fri Apr 04, 2008 8:57 pm
mhmm well.. i'm a newbie and
.. the problem is..
how i can send a message in a chan when an user quits?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Apr 05, 2008 3:31 pm
From Tcl-commands.doc:
SIGN (stackable)
bind sign <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <reason>
Description: triggered by a signoff, or possibly by someone who got
netsplit and never returned. The signoff message is the last
argument to the proc. Wildcards can be used in the mask, which is
matched against '#channel nick!user@host'.
Zeta
Voice
Posts: 16 Joined: Fri Apr 04, 2008 8:52 pm
Post
by Zeta » Sat Apr 05, 2008 7:40 pm
tnxxxx ^^ i do this
Code: Select all
bind sign - * quitZ
proc quitZ { nick host handle chan reason } {
global botnick
if {$nick == $botnick} {return 0}
if { [ lsearch -exact [ channel info $chan ] "+porc" ] == -1 } { return }
putserv "PRIVMSG $chan : TEXTTTTT"
}
and it's works.. §:P
but.. i've a question and i dont open a new topic..
the question is...
how can i log all the message that they start with "demoniac1" or "demoniac2" ?
uhmm sorry for my bad english XD
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Apr 05, 2008 8:37 pm
Check out the pub and pubm (or msg and msgm if you want to log private messages) binds in Tcl-commands.doc.