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 

host logger

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Paladin
Voice


Joined: 18 Sep 2005
Posts: 15

PostPosted: Tue Feb 07, 2006 7:16 am    Post subject: host logger Reply with quote

i need a script that logs users` hosts in specified channel on dcc command
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Feb 07, 2006 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Paladin
Voice


Joined: 18 Sep 2005
Posts: 15

PostPosted: Tue Feb 07, 2006 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Feb 07, 2006 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Paladin
Voice


Joined: 18 Sep 2005
Posts: 15

PostPosted: Tue Feb 07, 2006 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Feb 07, 2006 11:50 pm    Post subject: Reply with quote

why?
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Feb 08, 2006 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Paladin
Voice


Joined: 18 Sep 2005
Posts: 15

PostPosted: Wed Feb 08, 2006 5:28 am    Post subject: Reply with quote

yes that is what i want and will not make things more comlicated... so help me if you can please
Back to top
View user's profile Send private message
Paladin
Voice


Joined: 18 Sep 2005
Posts: 15

PostPosted: Thu Feb 09, 2006 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Script Requests 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