<?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/9300" />

	<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>2005-03-11T12:56:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-11T12:56:07-04:00</updated>

		<published>2005-03-11T12:56:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47432#p47432</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47432#p47432"/>
		<title type="html"><![CDATA[Add/Remove IP in a file on Join/Quit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47432#p47432"><![CDATA[
you better maintain those hosts/IPs in a list, saving it periodically in a file<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 11, 2005 12:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-03-11T12:03:34-04:00</updated>

		<published>2005-03-11T12:03:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47430#p47430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47430#p47430"/>
		<title type="html"><![CDATA[Add/Remove IP in a file on Join/Quit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47430#p47430"><![CDATA[
To resolve the host you can use the dns module.<br><br>Here's an example..<div class="codebox"><p>Code: </p><pre><code>bind join - * jipproc jip {n u h c} { set uh [lindex [split $u @] 1] set ip [dnslookup $uh resip] # ...}proc resip {i h s} { if {$i!="0.0.0.0"} {   return $i  } {   return $h }}</code></pre></div>You'll find more info about reading/writing to a file <a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">here</a>.<br><br>Good Luck!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Fri Mar 11, 2005 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2005-03-11T11:29:34-04:00</updated>

		<published>2005-03-11T11:29:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47429#p47429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47429#p47429"/>
		<title type="html"><![CDATA[Add/Remove IP in a file on Join/Quit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47429#p47429"><![CDATA[
Hello,i'm looking for a small script that writes the IP adress of peoples nick to a text file when they join my channel.. And then when they part/quit, their IP adress is removed from the file..<br>Any help?<p>Statistics: Posted by Guest — Fri Mar 11, 2005 11:29 am</p><hr />
]]></content>
	</entry>
	</feed>
