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

	<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>2010-01-06T12:16:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-01-06T12:16:04-04:00</updated>

		<published>2010-01-06T12:16:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91604#p91604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91604#p91604"/>
		<title type="html"><![CDATA[what is that number, returned by [myip] ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91604#p91604"><![CDATA[
willyw,<br>One of the main uses for the 'longip' version with eggdrops are for dcc chat/send requests<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 06, 2010 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-01-05T15:39:49-04:00</updated>

		<published>2010-01-05T15:39:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91590#p91590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91590#p91590"/>
		<title type="html"><![CDATA[what is that number, returned by [myip] ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91590#p91590"><![CDATA[
You may convert it into normal ip useing this proc from fsck function library v1.19 by perpleXa: <div class="codebox"><p>Code: </p><pre><code># longip: Converts the long value of an ip to it's dotted quad ip.proc longtoip {long} {  format "%u.%u.%u.%u" [expr $long&gt;&gt;24] [expr ($long&gt;&gt;16)&amp;255] [expr ($long&gt;&gt;8)&amp;255] [expr $long&amp;255];}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Tue Jan 05, 2010 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-01-05T14:20:25-04:00</updated>

		<published>2010-01-05T14:20:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91587#p91587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91587#p91587"/>
		<title type="html"><![CDATA[what is that number, returned by [myip] ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91587#p91587"><![CDATA[
<blockquote class="uncited"><div>It is the 32bit representation of your IP-address. Given the IP-address aaa.bbb.ccc.ddd, the 'long-IP' would be (2^24)*aaa+(2^16)*bbb+(2^8)*ccc+ddd.</div></blockquote>Thanks for explaining.    <br><br>It is interesting.   How would one make use of it though?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jan 05, 2010 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-01-01T15:46:31-04:00</updated>

		<published>2010-01-01T15:46:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91511#p91511</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91511#p91511"/>
		<title type="html"><![CDATA[what is that number, returned by [myip] ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91511#p91511"><![CDATA[
It is the 32bit representation of your IP-address. Given the IP-address aaa.bbb.ccc.ddd, the 'long-IP' would be (2^24)*aaa+(2^16)*bbb+(2^8)*ccc+ddd.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Jan 01, 2010 3:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-01-01T15:29:08-04:00</updated>

		<published>2010-01-01T15:29:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91509#p91509</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91509#p91509"/>
		<title type="html"><![CDATA[what is that number, returned by [myip] ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91509#p91509"><![CDATA[
Hello,<br><br>Was fiddling around with something, and in in tcl-commands.doc I found the<br>myip  command.<br>Tried this, from partyline:<br>.tcl putserv "privmsg mynick : [myip] "<br><br>and the bot promptly sent me a ten digit number.<br><br>What is it?     some sort of encoding of the bot's true ip number?<br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jan 01, 2010 3:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
