| View previous topic :: View next topic |
| Author |
Message |
sattam Voice
Joined: 02 Jan 2010 Posts: 20
|
Posted: Wed Jan 06, 2010 4:07 pm Post subject: Client -- Client connecting |
|
|
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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed Jan 06, 2010 6:45 pm Post subject: Re: Client -- Client connecting |
|
|
| 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 |
|
 |
sattam Voice
Joined: 02 Jan 2010 Posts: 20
|
Posted: Wed Jan 06, 2010 6:57 pm Post subject: Re: Client -- Client connecting |
|
|
| 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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
|
| Back to top |
|
 |
sattam Voice
Joined: 02 Jan 2010 Posts: 20
|
Posted: Wed Jan 06, 2010 7:02 pm Post subject: |
|
|
| speechles wrote: | My bad.... try the altered code above I've edited  |
I do not understand
I want to help if allowed |
|
| Back to top |
|
 |
sattam Voice
Joined: 02 Jan 2010 Posts: 20
|
Posted: Wed Jan 06, 2010 7:07 pm Post subject: |
|
|
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 |
|
 |
|