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.

host logger

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Locked
P
Paladin
Voice
Posts: 15
Joined: Sun Sep 18, 2005 7:18 am

host logger

Post by Paladin »

i need a script that logs users` hosts in specified channel on dcc command
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

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]"
 }
}
.gethost nick chan
P
Paladin
Voice
Posts: 15
Joined: Sun Sep 18, 2005 7:18 am

Post by Paladin »

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)
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
P
Paladin
Voice
Posts: 15
Joined: Sun Sep 18, 2005 7:18 am

Post by Paladin »

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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

why?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
P
Paladin
Voice
Posts: 15
Joined: Sun Sep 18, 2005 7:18 am

Post by Paladin »

yes that is what i want and will not make things more comlicated... so help me if you can please
P
Paladin
Voice
Posts: 15
Joined: Sun Sep 18, 2005 7:18 am

Post by Paladin »

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.
Locked