<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8422" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-10-17T16:24:43-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8422</id>

		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-17T16:24:43-04:00</updated>

		<published>2004-10-17T16:24:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41963#p41963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41963#p41963"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41963#p41963"><![CDATA[
<blockquote class="uncited"><div>If a person is spoofing how can you get the exact ip address of that person? Virtual hosts are mean't to hide your ip address.<br><br> If someone is on a bnc or psy using a virtual host from an ip from that box then naturally the box's ip would be shown in the host section and not the actual host of the users isp.</div></blockquote>I know this, but if the person is NOT using a psy/muh/vhost I'll get their IP =)<br><br>I dont care if I get 50% vhost-IPs - it's the personal IPs that is important..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Sun Oct 17, 2004 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-17T10:06:32-04:00</updated>

		<published>2004-10-17T10:06:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41953#p41953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41953#p41953"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41953#p41953"><![CDATA[
Not a biggie heh, its just the resolved vhost into numerical format; not the persons ip address.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Oct 17, 2004 10:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-10-16T14:03:30-04:00</updated>

		<published>2004-10-16T14:03:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41938#p41938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41938#p41938"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41938#p41938"><![CDATA[
np  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Oct 16, 2004 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-16T13:08:50-04:00</updated>

		<published>2004-10-16T13:08:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41935#p41935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41935#p41935"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41935#p41935"><![CDATA[
Thank you VERY much GB <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>You've got the spirit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>It worked 100% <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Sat Oct 16, 2004 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-16T13:10:55-04:00</updated>

		<published>2004-10-16T12:58:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41934#p41934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41934#p41934"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41934#p41934"><![CDATA[
Double post woops !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Sat Oct 16, 2004 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-10-16T11:48:16-04:00</updated>

		<published>2004-10-16T11:48:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41928#p41928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41928#p41928"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41928#p41928"><![CDATA[
This code should resolve most hosts and write the info in seperate files.<br><br>If it can't resolve a host, it'll write the host instead.<br><br>You need the dns module loaded for this to work.<br><div class="codebox"><p>Code: </p><pre><code>bind join - * log:ipsproc log:ips {nick uhost hand chan} { if {![isbotnick $nick]} {   set host [lindex [split $uhost @] 1]   set ns [dnslookup $host resolve:ip $nick $chan] }}proc resolve:ip {ip host status nick chan} { set file [open $chan.iplogs.txt a] if {$ip != "0.0.0.0"} {   puts $file "\[[strftime "%D %T"]\] &lt;$nick&gt; $ip" } else {   puts $file "\[[strftime "%D %T"]\] &lt;$nick&gt; $host" } close $file}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Oct 16, 2004 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-16T09:14:33-04:00</updated>

		<published>2004-10-16T09:14:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41918#p41918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41918#p41918"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41918#p41918"><![CDATA[
If a person is spoofing how can you get the exact ip address of that person? Virtual hosts are mean't to hide your ip address.<br><br> If someone is on a bnc or psy using a virtual host from an ip from that box then naturally the box's ip would be shown in the host section and not the actual host of the users isp.<br><br>And /dns &lt;ip&gt; would give the numerical reverse of the vhost which is useless and wouldn't be the actual host of that users isp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Oct 16, 2004 9:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-15T17:32:43-04:00</updated>

		<published>2004-10-15T17:32:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41907#p41907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41907#p41907"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41907#p41907"><![CDATA[
Thank you awyeah !<br><br>It worked, but there is a problem - if someone joins with a vhost (bla.bla.org) the script dont get their ip, just the vhost...<br><br>Is there a way to pick out the ip - just like in /dns @ IRC... ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Fri Oct 15, 2004 5:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-15T09:31:25-04:00</updated>

		<published>2004-10-15T09:31:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41885#p41885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41885#p41885"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41885#p41885"><![CDATA[
Blah, here you go.<br><div class="codebox"><p>Code: </p><pre><code>bind join - "*" log:ipsproc log:ips {nick uhost hand chan} { if {(![isbotnick $nick])} { set file [open iplogs.txt a+] set time [unixtime]; set jointime [ctime $time] set date [string trim [lindex $jointime 2]] set month [string trim [lindex $jointime 1]] set time [string trim [lindex $jointime 3]] puts $file "([string toupper $chan]) \[Performed on: $date $month $time\] * $nick ($uhost) has joined $chan. \[IP Address: [lindex [split $uhost "@"] 1]\]" close $file return 0 }}</code></pre></div>This will be for all the channels the bot is on.<br>Now the least you can do here is to modify this according to your channels and making seperate files for seperate channels to store the logs in.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Oct 15, 2004 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-15T05:36:30-04:00</updated>

		<published>2004-10-15T05:36:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41879#p41879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41879#p41879"/>
		<title type="html"><![CDATA[Re: Weird request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41879#p41879"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I'm looking for a script for my eggdrop that does this:<br>When someone joins a channel the bot finds their IP and saves it in a file together with $date $time and the users $nick.<br>The ip and userinfo is to be saved in #channel.mrc - different channels must be saved in different files!</div></blockquote><blockquote class="uncited"><div>I'm just asking if someone has a script like this - or if someone would care to make it..<br>If you dont have it or if you dont want to make it - JUST DONT REPLY !</div></blockquote>You want someone to make you a script that does something random to find the ip and generates random output to a file. I'll be happy to do that last part for you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>How does the bot find their ip? Do you want to attempt to resolve the hostname using the dns module or will a /USERIP $nick be fine? Are there hosts that should be ignored when attempting to find an ip?<br>What "userinfo" is saved to the file and in what format?</div></blockquote>How nice of you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>I dont know how the bots find their IPs but I want to sae the IPs in a separate file for each channel the bot is placed on. When thew bot writes the IP to the file I want it to add the time and date together with the line.<br>No host should be ignored - it doesnt really matter what format it saves to...<br><br>I already have this script made to mIRC, but now I'm shutting down my 2003-box and need it to be runned in an eggdrop...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Fri Oct 15, 2004 5:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-10-14T20:49:45-04:00</updated>

		<published>2004-10-14T20:49:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41865#p41865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41865#p41865"/>
		<title type="html"><![CDATA[Re: Weird request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41865#p41865"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I'm looking for a script for my eggdrop that does this:<br>When someone joins a channel the bot finds their IP and saves it in a file together with $date $time and the users $nick.<br>The ip and userinfo is to be saved in #channel.mrc - different channels must be saved in different files!</div></blockquote><blockquote class="uncited"><div>I'm just asking if someone has a script like this - or if someone would care to make it..<br>If you dont have it or if you dont want to make it - JUST DONT REPLY !</div></blockquote>You want someone to make you a script that does something random to find the ip and generates random output to a file. I'll be happy to do that last part for you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>How does the bot find their ip? Do you want to attempt to resolve the hostname using the dns module or will a /USERIP $nick be fine? Are there hosts that should be ignored when attempting to find an ip?<br>What "userinfo" is saved to the file and in what format?</div></blockquote>Wow you're very nice user I guess too nice. Wanna do all my scripts lol <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Thu Oct 14, 2004 8:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-10-14T19:40:33-04:00</updated>

		<published>2004-10-14T19:40:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41862#p41862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41862#p41862"/>
		<title type="html"><![CDATA[Weird request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41862#p41862"><![CDATA[
<blockquote class="uncited"><div>I'm looking for a script for my eggdrop that does this:<br>When someone joins a channel the bot finds their IP and saves it in a file together with $date $time and the users $nick.<br>The ip and userinfo is to be saved in #channel.mrc - different channels must be saved in different files!</div></blockquote><blockquote class="uncited"><div>I'm just asking if someone has a script like this - or if someone would care to make it..<br>If you dont have it or if you dont want to make it - JUST DONT REPLY !</div></blockquote>You want someone to make you a script that does something random to find the ip and generates random output to a file. I'll be happy to do that last part for you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>How does the bot find their ip? Do you want to attempt to resolve the hostname using the dns module or will a /USERIP $nick be fine? Are there hosts that should be ignored when attempting to find an ip?<br>What "userinfo" is saved to the file and in what format?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Oct 14, 2004 7:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[croyfer]]></name></author>
		<updated>2004-10-14T18:40:08-04:00</updated>

		<published>2004-10-14T18:40:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41860#p41860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41860#p41860"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41860#p41860"><![CDATA[
ERR guys.<br><br>I'm just asking if someone has a script like this - or if someone would care to make it..<br><br><br>If you dont have it or if you dont want to make it - JUST DONT REPLY !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5527">croyfer</a> — Thu Oct 14, 2004 6:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-10-13T23:36:41-04:00</updated>

		<published>2004-10-13T23:36:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41806#p41806</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41806#p41806"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41806#p41806"><![CDATA[
<blockquote class="uncited"><div>Well I'm sure you're right, but I have no idea how to make a script like this, so I need some help to write it.</div></blockquote>Excellent.  First requirement to learning to write tcl code is to aquire an understanding of exactly what you are talking about, namely reading documentation such as <a href="http://www.egghelp.org/enhance.htm#tclscripts" class="postlink">enhancing your eggdrop</a> that explain tcl in general terms, with a variety of useful links, such as this excellent <a href="http://www.suninet.nl/tclguide/" class="postlink">tcl beginner's guide</a>.  Hope this is helpful  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Wed Oct 13, 2004 11:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-10-12T07:45:29-04:00</updated>

		<published>2004-10-12T07:45:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41766#p41766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41766#p41766"/>
		<title type="html"><![CDATA[I need a IP-logging script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41766#p41766"><![CDATA[
We are here to help those that help themselves. Pre-written scripts can be found in the TCL Archive on the front page. Remember that everyone here do have other things to do besides sitting here and writing requested scripts from scratch just because someone seems unwilling to try. We've lost a lot of good scripters/members because of this. I suggest you visit MC_8's <a href="http://mc.purehype.net/" class="postlink">TCL Scripts</a> site and read an interesting article that may give you some more insight regarding this statement of yours that "..so you don't care".  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Oct 12, 2004 7:45 am</p><hr />
]]></content>
	</entry>
	</feed>
