| View previous topic :: View next topic |
| Author |
Message |
Paladin Voice
Joined: 18 Sep 2005 Posts: 15
|
Posted: Tue Feb 07, 2006 7:16 am Post subject: host logger |
|
|
| i need a script that logs users` hosts in specified channel on dcc command |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Feb 07, 2006 9:33 am Post subject: |
|
|
| Code: | bind dcc n gethost gethost
proc gethost {h i a} {
foreach {nick chan} [split $a] {break}
if {[onchan $nick $chan]} {
putdcc $i "$nick :: [getchanhost $nick $chan]"
}
} |
| Quote: | | .gethost nick chan |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Paladin Voice
Joined: 18 Sep 2005 Posts: 15
|
Posted: Tue Feb 07, 2006 12:13 pm Post subject: |
|
|
| no, i mean with one command to log every user in the channel. (to log them to specified handle in the bot`s user file) |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Feb 07, 2006 1:45 pm Post subject: |
|
|
| Paladin wrote: | | no, i mean with one command to log every user in the channel. (to log them to specified handle in the bot`s user file) |
I still don't get what you mean. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Paladin Voice
Joined: 18 Sep 2005 Posts: 15
|
Posted: Tue Feb 07, 2006 4:00 pm Post subject: |
|
|
| There is a channel. And I want with a dcc command to make the bot add the chatters in the channel`s hosts to a specified handle |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Feb 07, 2006 11:50 pm Post subject: |
|
|
why? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Feb 08, 2006 1:34 am Post subject: |
|
|
My guess (*shrugs*) is to add all users' hosts to the one handle in eggdrop rather than adding individual users because Paladin assumes it may simplify things?
I would assume it would just complicate instead. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Paladin Voice
Joined: 18 Sep 2005 Posts: 15
|
Posted: Wed Feb 08, 2006 5:28 am Post subject: |
|
|
| yes that is what i want and will not make things more comlicated... so help me if you can please |
|
| Back to top |
|
 |
Paladin Voice
Joined: 18 Sep 2005 Posts: 15
|
Posted: Thu Feb 09, 2006 7:32 am Post subject: |
|
|
will somebody help me or just ask me stupid questions
EDIT by slennox: being rude is not the way to get free assistance from volunteers. Thread locked. |
|
| Back to top |
|
 |
|