egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Client -- Client connecting

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
sattam
Voice


Joined: 02 Jan 2010
Posts: 20

PostPosted: Wed Jan 06, 2010 4:07 pm    Post subject: Client -- Client connecting Reply with quote

I'm trying to do and repaired
Write entry in #Em

This bot Operator

(=E-) [20:06] -NOTICE- *** Client -- Client connecting: Guest-56228 (~r00t@cpc2-pool12-2-0-cust210.15-2.cable.virginmedia.com) [82.2.228.211] {users}

Code:
bind raw * notice snotice
proc snotice {from keyword arg} {
       set nick [lindex $arg 5]
       putserv "svsjoin $nick #Em"
}
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Jan 06, 2010 6:45 pm    Post subject: Re: Client -- Client connecting Reply with quote

Code:
bind raw - NOTICE snotice
proc snotice {from keyword arg} {
       # no use sending useless svsjoin's, is this notice
       # about a client connecting?
       if {![string match -nocase "*client connecting*" $arg]} { return }
       # so this works on multiple ircd's, nick is _not always_ in
       # the sixth position, but it is always after the first colon.
       set nick [lindex [lindex [split $arg :] 1] 0]
       putserv "svsjoin $nick #Em"
}

_________________
speechles' eggdrop tcl archive


Last edited by speechles on Wed Jan 06, 2010 6:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
sattam
Voice


Joined: 02 Jan 2010
Posts: 20

PostPosted: Wed Jan 06, 2010 6:57 pm    Post subject: Re: Client -- Client connecting Reply with quote

speechles wrote:
Code:
bind raw -|- * NOTICE snotice
proc snotice {from keyword arg} {
       if {![string match -nocase "*client connecting*" $arg]} { return }
       # so this works on multiple ircd's, nick is _not always_ in
       # the sixth position, but it is always after the first colon.
       set nick [lindex [lindex [split $arg :] 1] 0]
       putserv "svsjoin $nick #Em"
}



Unfortunately did not work
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Jan 06, 2010 7:00 pm    Post subject: Reply with quote

My bad.... try the altered code above I've edited Wink
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
sattam
Voice


Joined: 02 Jan 2010
Posts: 20

PostPosted: Wed Jan 06, 2010 7:02 pm    Post subject: Reply with quote

speechles wrote:
My bad.... try the altered code above I've edited Wink


I do not understand
I want to help if allowed
Back to top
View user's profile Send private message
sattam
Voice


Joined: 02 Jan 2010
Posts: 20

PostPosted: Wed Jan 06, 2010 7:07 pm    Post subject: Reply with quote

I mean when any user contact In the server

(=E-) [22:58] -NOTICE- *** Client -- Client exiting: Guest-56228 (~r00t@cpc2-pool12-2-0-cust210.15-1.cable.virginmedia.com) [Client Quit] [82.8.228.211]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber