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

	<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-04T18:43:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BhasIRC]]></name></author>
		<updated>2010-01-04T18:43:31-04:00</updated>

		<published>2010-01-04T18:43:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91566#p91566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91566#p91566"/>
		<title type="html"><![CDATA[ip lookup]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91566#p91566"><![CDATA[
when i said this is my code i ment this is my code as in here it is lol anyways thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11039">BhasIRC</a> — Mon Jan 04, 2010 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BhasIRC]]></name></author>
		<updated>2010-01-04T18:42:13-04:00</updated>

		<published>2010-01-04T18:42:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91565#p91565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91565#p91565"/>
		<title type="html"><![CDATA[ip lookup]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91565#p91565"><![CDATA[
its not my code at all its a code i downloaded sorry if i some how made u feel it was mine i am new to tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11039">BhasIRC</a> — Mon Jan 04, 2010 6:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-01-04T17:46:51-04:00</updated>

		<published>2010-01-04T17:46:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91564#p91564</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91564#p91564"/>
		<title type="html"><![CDATA[Re: ip lookup]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91564#p91564"><![CDATA[
<blockquote class="uncited"><div>ok see this script should give me the state the ip comes from the country the isp of the ip but it just gives me the country this is my code <div class="codebox"><p>Code: </p><pre><code>#snipped code#</code></pre></div>Thanks In Advance<br>Zainul</div></blockquote>Um, your code... are you serious? Because my good sir, your either lying, exaggerating, or you've simply made a mistake meaning "my code" as in what your using, not "my code" as in code you've written. FYI, it's my code and you've ripped all credits from it... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>The reason you don't get a city is because your over-quota (free mode is 5 queries per day). The new version of _MY_ script supports multiple accounts (free or pay) and all sorts of crazy action missles (aka features galore). <br><div class="codebox"><p>Code: </p><pre><code># Whereis IP geolocation scrape script (v1.4)# by speechles - Proof-of-concept # :: November 27, 2009# -- Cookies / Referer / 302 Redirects ---</code></pre></div>From this thread: <a href="http://forum.egghelp.org/viewtopic.php?t=16823&amp;start=37" class="postlink">http://forum.egghelp.org/viewtopic.php?t=16823&amp;start=37</a><br>From this link: <a href="http://ereader.kiczek.com/whereis.tcl" class="postlink">http://ereader.kiczek.com/whereis.tcl</a><br>From this guy: me <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=8138">speechles</a> — Mon Jan 04, 2010 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BhasIRC]]></name></author>
		<updated>2010-01-04T14:53:35-04:00</updated>

		<published>2010-01-04T14:53:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91558#p91558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91558#p91558"/>
		<title type="html"><![CDATA[ip lookup]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91558#p91558"><![CDATA[
ok see this script should give me the state the ip comes from the country the isp of the ip but it just gives me the country this is my code <div class="codebox"><p>Code: </p><pre><code>bind pub -|- !whereis whereis setudef flag whereis package require http # Set your filtered list here with or without wildcards, # only these will be displayed and the order you choose # here is the exact order in which it will be output. To # display everything, all the site has to offer and see # what there is to choose from, use a single wildcard, # "*", in the list below. variable whereisFilter [list "city:" "country:"] proc whereis {nick uhost hand chan text} {    # flag    # useragent    ::http::config -useragent "Mozilla/5.0 ; Gecko"    # geturl, with error handler    catch { set http [::http::geturl "http://www.ip-adress.com/ip_tracer/$text" -timeout 5000] } error    # error condition 1: invalid http session    if {![string match -nocase "::http::*" $error]} {       putserv "privmsg $chan :[string totitle $error] \( http://www.ip-adress.com/ip_tracer/$text \)"       return 0    }    # error condition 2: http error    if {![string equal -nocase [::http::status $http] "ok"]} {       putserv "privmsg $chan :[string totitle [::http::status $http]] \( http://www.ip-adress.com/ip_tracer/$text \)"       return 0    }    # no error, get data    set data [::http::data $http]    # cleanup http token    ::http::cleanup $http    # cleanse html for parsing    regsub -all {\[&lt;.*?&gt;\]} $data "" data    regsub -all "&lt;script.*?&gt;.*?&lt;/script&gt;" $data "" data    regsub -all "&lt;a href.*?&lt;/a&gt;" $data "" data    regsub -all "&lt;img src=.*?&gt;" $data "" data    regsub -all {(?:\n|\t|\v|\r|&lt;/span&gt;)} $data "" data    regsub -all {&lt;span.*?&gt;} $data "" data    # can we retrieve table fields?    while {[regexp -nocase -- {&lt;th&gt;(.*?)&lt;/th&gt;.*?&lt;td&gt;(.*?)&lt;/td&gt;} $data x type attrib]} {       lappend output "[string totitle [string trim [string map {"IP country code" "country code" "IP address" " "} $type]]] [string trim $attrib]"       regsub -nocase -- {&lt;th&gt;.*?&lt;/th&gt;.*?&lt;td&gt;.*?&lt;/td&gt;} $data "" data    }    # do we have output?    if {[info exists output]} {      # yes, determine what exactly to output...      foreach entry $::whereisFilter {         foreach attribute $output {            # does the attribute match any filter masks?            if {[string match -nocase $entry [lindex [split $attribute] 0]]} {               # yes, add to spam list               lappend spamline $attribute            }         }       }       # was a spam list created?       if {[info exists spamline]} {          # if created, does it have any contents?          if {[llength $spamline]} {             # yes, spam first 9             puthelp "privmsg $chan :[join [lrange $spamline 0 8] " ~ "]"             # more than 9?             if {[llength $spamline] &gt; 15} {                # yes, spam the rest                puthelp "privmsg $chan :[join [lrange $spamline 9 [llength $spamline]] " ~ "]"             }          }       } else {          # we have output but nothing in the spam list, declare          puthelp "privmsg $chan :$text returns some useful information for me to reply with, but filtering is preventing me from showing you... ;/"       }    } else {       # we have no output at all, declare       puthelp "privmsg $chan :$text returns no useful information for me to reply with... ;/"    } # eof }</code></pre></div>Thanks In Advance<br>Zainul<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11039">BhasIRC</a> — Mon Jan 04, 2010 2:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
