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

	<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>2023-05-01T17:51:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-05-01T17:51:17-04:00</updated>

		<published>2023-05-01T17:51:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111897#p111897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111897#p111897"/>
		<title type="html"><![CDATA[ip finder]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111897#p111897"><![CDATA[
Because this website now use https.<br>Load tls package and register https, change the url to use https.<br><br>And some other providers of info about IP have an api returning json, which is easier to use in tcl. You'd better use one of them. A little search in the forum may give you some results of working scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon May 01, 2023 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2023-05-01T17:05:07-04:00</updated>

		<published>2023-05-01T17:05:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111896#p111896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111896#p111896"/>
		<title type="html"><![CDATA[ip finder]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111896#p111896"><![CDATA[
thanks crazycat<br>something is wrong<div class="codebox"><p>Code: </p><pre><code>[16:35] &lt;@Arnold_X-P&gt; .ip 200.87.208.0[16:35] &lt;@reebot&gt; Invalid address or IP not found</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Mon May 01, 2023 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-05-01T03:02:53-04:00</updated>

		<published>2023-05-01T03:02:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111894#p111894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111894#p111894"/>
		<title type="html"><![CDATA[ip finder]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111894#p111894"><![CDATA[
The website has changed, now the regex must look like:<div class="codebox"><p>Code: </p><pre><code>regexp -- {&lt;p class="information"&gt;&lt;span&gt;Hostname:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - hostnameregexp -- {&lt;p class="information"&gt;&lt;span&gt;ISP:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - ispregexp -- {&lt;p class="information"&gt;&lt;span&gt;State/Region:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - stateregexp -- {&lt;p class="information"&gt;&lt;span&gt;Country:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - countryregexp -- {&lt;p class="information"&gt;&lt;span&gt;City:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - city</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon May 01, 2023 3:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2023-04-30T22:44:02-04:00</updated>

		<published>2023-04-30T22:44:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111893#p111893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111893#p111893"/>
		<title type="html"><![CDATA[ip finder]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111893#p111893"><![CDATA[
Please I need help in the repair of this tcl does not generate the requested information<div class="codebox"><p>Code: </p><pre><code>bind pub - .ip msg_ipwhoisproc msg_ipwhois {nick uhost hand chan text} {  global botnick  if {$text == "" } {putquick "PRIVMSG $chan :You have to use true command for look up whois information. Command: !ip ipnumber";return}        if {[string match -nocase "*" $text]} {  set connect [::http::geturl http://whatismyipaddress.com/ip/$text]  set files [::http::data $connect]  ::http::cleanup $files    regexp -- {ISP:&lt;/th&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organization} $files - isp    regexp -- {Country:&lt;/th&gt;&lt;td&gt;(.*?) &lt;img src=} $files - country    regexp -- {Hostname:&lt;/th&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $files - hostname    regexp -- {State/Region:&lt;/th&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $files - state    regexp -- {City:&lt;/th&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $files - cityif {[info exists country]} {        puthelp "privmsg $chan :IP: $text - ISP: $isp - Hostname: $hostname - Country: $country"if {[info exists state]} {        puthelp "privmsg $chan :State: $state - City: $city" } } else {  puthelp "privmsg $chan :Invalid address or IP not found" }   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sun Apr 30, 2023 10:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
