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

	<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>2025-08-04T10:30:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2025-08-04T10:30:22-04:00</updated>

		<published>2025-08-04T10:30:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113345#p113345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113345#p113345"/>
		<title type="html"><![CDATA[Re: ip requests or !ip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113345#p113345"><![CDATA[
No, the trouble is that when you send the request, you first have a "just a moment..." page which is an anti-bot security.<br>You can't use this page without javascript<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Aug 04, 2025 10:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2025-08-03T23:59:56-04:00</updated>

		<published>2025-08-03T23:59:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113344#p113344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113344#p113344"/>
		<title type="html"><![CDATA[ip requests or !ip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113344#p113344"><![CDATA[
<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 https://whatismyipaddress.com/ip/$text]  set files [::http::data $connect]  ::http::cleanup $files  regexp -- {&lt;p class="information"&gt;&lt;span&gt;Hostname:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - hostname  regexp -- {&lt;p class="information"&gt;&lt;span&gt;ISP:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - isp  regexp -- {&lt;p class="information"&gt;&lt;span&gt;State/Region:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - state  regexp -- {&lt;p class="information"&gt;&lt;span&gt;Country:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - country  regexp -- {&lt;p class="information"&gt;&lt;span&gt;City:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - city     regexp -- {&lt;p class="information"&gt;&lt;span&gt;Latitude:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - latitude   regexp -- {&lt;p class="information"&gt;&lt;span&gt;Longitude:&lt;/span&gt;&lt;span&gt;(.+)&lt;/span&gt;} $files - longitude if {[info exists country]} {  puthelp "privmsg $chan :IP: $text - ISP: $isp - Hostname: $hostname - Country: $country Latitude: $latitude Longitude: $longitude" if {[info exists state]} {    puthelp "privmsg $chan :State: $state - City: $city"  } } else {  puthelp "privmsg $chan :Invalid address or IP not found" }   }} </code></pre></div> <br>This TCL doesn't work... just mention this on the channel<div class="codebox"><p>Code: </p><pre><code> [23:52] &lt;@Kantuta&gt; Invalid address or IP not found</code></pre></div> <br>But when I go to the verification page, it works fine... it seems something is wrong with the TCL.<br><br>I'm not sure but the fault might come from here.<div class="codebox"><p>Code: </p><pre><code> if {[string match -nocase "*" $text]} {  </code></pre></div>Can you help me with the correction of this TCL please?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sun Aug 03, 2025 11:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
