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

	<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-12-21T17:42:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-16T17:03:44-04:00</updated>

		<published>2023-12-16T17:03:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112322#p112322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112322#p112322"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112322#p112322"><![CDATA[
Just noticed that if false ip or domain the else msg to chan not working.<br>How can i ask json if data is empty or 0 show error log? Thx once more<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Sat Dec 16, 2023 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-15T20:47:39-04:00</updated>

		<published>2023-12-15T20:47:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112321#p112321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112321#p112321"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112321#p112321"><![CDATA[
Thx once again, will keep that link ^^<br><br>*Updated JSON version<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Fri Dec 15, 2023 8:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-12-15T19:28:49-04:00</updated>

		<published>2023-12-15T19:28:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112320#p112320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112320#p112320"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112320#p112320"><![CDATA[
<blockquote class="uncited"><div>One last question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> How to set if timout error is passed or site is offline? how to show error on tcl?</div></blockquote>After the line:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">set page [::http::data $token]</code></pre></div> <strong>script</strong> You can use this kind of code:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">upvar 0 $token stateif {$state(status) ne "ok"} {   putlog "HTTP Error : $state(url) made $state(status) error"   return 1}</code></pre></div> <strong>script</strong> You can have a look to <a href="https://www.tcl-lang.org/man/tcl/TclCmd/http.htm" class="postlink">https://www.tcl-lang.org/man/tcl/TclCmd/http.htm</a> to learn more about http package<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Dec 15, 2023 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-15T14:39:01-04:00</updated>

		<published>2023-12-15T14:39:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112319#p112319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112319#p112319"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112319#p112319"><![CDATA[
One last question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> How to set if timout error is passed or site is offline? how to show error on tcl?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Fri Dec 15, 2023 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-15T20:43:25-04:00</updated>

		<published>2023-12-14T21:18:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112318#p112318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112318#p112318"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112318#p112318"><![CDATA[
<blockquote class="uncited"><div>This part is false:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">set page [http::data [http::geturl $url -timeout 10000]]::http::cleanup $page::http::unregister https</code></pre></div> <strong>script</strong> It must be:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">set token [::http::geturl $url -timeout 10000]set page [::http::data $token]# putlog "Got this in page: $page"::http::cleanup $token::http::unregister https</code></pre></div> <strong>script</strong> And you can uncomment the putlog to see if something is stored in $page</div></blockquote>@CrazyCat thanks for all your help and support, much appreciated. Going to trying that !stream now from tvmaze <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>btw i had to use this: To get data to chan.<br>set data [dict get [json::json2dict $page]] to get the announce<br>are there so many json calls? like regexp this was not that simpel for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>Have learned alot i guess, thx once more. Njoy the weekend<br><div class="codebox"><p>Code: </p><pre><code>  # this one not worked  set data [::json2dict $page]   #also not wrked  set data [::json::json2dict [http::data $page]]   #this one worked  set data [dict get [json::json2dict $page]]  #showing results  set country [dict get $data country]  putserv "PRIVMSG $chan :IP-API: $country"</code></pre></div><br>This is the JSON version<div class="codebox"><p>Code: </p><pre><code># -----------------------------------# IP/DOMAIN API info from ip-api.com# -----------------------------------  bind pub - !ip ipapiproc  bind pub - !ipapi ipapiproc  bind pub - !ipinfo ipapiproc  package require http  package require tls  package require json  proc ipapiproc {nick host hand chan text} {  http::register https 443 [list ::tls::socket -autoservername true]  if {![llength [split $text]]} {    putserv "NOTICE $nick :Use: !ip 127.0.0.1 or !ip mydomain.com"    return 0  }  # JSON regexp  set url "http://ip-api.com/json/$text"   set token [::http::geturl $url -timeout 10000]  set page [::http::data $token]  upvar 0 $token state  if {$state(status) ne "ok"} {   putlog "HTTP Error : $state(url) made $state(status) error"   return 1  }  ::http::cleanup $token  ::http::unregister https    # Page=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,asn,query,continent,continentCode,currency,asname,mobile,proxy,hosting  # $page is the result of your geturl  set data [dict get [json::json2dict $page]]  set ip [string map {" " ":"} [dict get $data query]]  set isp [dict get $data isp]  set country [dict get $data country]  set org [dict get $data org]  set city [dict get $data city]  set regionName [dict get $data regionName]  set lat [dict get $data lat]  set lon [dict get $data lon]  if { [dict get $data status] eq "succes"} { set status Failed } else { set status Succes }  # Works only on HTTPS and url needs to be set as:  https://ip-api.com/$text  #if { [dict get $data mobile] eq "true"} { set mobile avaible } else  { set mobile n/a }  #if { [dict get $data proxy] eq "true"} { set proxy avaible } else  { set proxy n/a }  #if { [dict get $data hosting] eq "true"} { set hosting avaible } else  { set hosting n/a }    if {[info exists country]} {    putserv "PRIVMSG $chan :IP-API: $ip - SP: $isp - ORG: $org - COUNTRY: $country"  if {[info exists lat]} {    putserv "PRIVMSG $chan :IP-API: STATUS: $status - CITY: $city - REGION: $regionName ($lat,$lon)"  if {[info exists mobile]} {    putserv "PRIVMSG $chan :IP-API: HOSTING: $hosting - PROXY: $proxy - MOBILE: $mobile"  else { putserv "PRIVMSG $chan :IP-API: Invalid address or IP not found" }   }  } }}  putlog "\[SCRiPT\] IP-API Info :: Loaded successfully."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Thu Dec 14, 2023 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-12-14T19:28:03-04:00</updated>

		<published>2023-12-14T19:28:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112317#p112317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112317#p112317"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112317#p112317"><![CDATA[
This part is false:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">set page [http::data [http::geturl $url -timeout 10000]]::http::cleanup $page::http::unregister https</code></pre></div> <strong>script</strong> It must be:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">set token [::http::geturl $url -timeout 10000]set page [::http::data $token]# putlog "Got this in page: $page"::http::cleanup $token::http::unregister https</code></pre></div> <strong>script</strong> And you can uncomment the putlog to see if something is stored in $page<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Dec 14, 2023 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-14T14:27:16-04:00</updated>

		<published>2023-12-14T14:27:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112316#p112316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112316#p112316"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112316#p112316"><![CDATA[
<blockquote class="uncited"><div>ip-api returns a json, so use json package to parse it (json2dict), don't treat it as simple string.<br><br>And I'm sure there is already ip-api script samples in this forum.<br>If not, here is a small tip:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl"># $page is the result of your geturlset data [::json2dict $page]set ip [string map {" " ":"} [dict get $data query]]set country [dict get $data country]set city [dict get $data city]set lat [dict get $data lat]set lon [dict get $data lon]set isp [dict get $data isp]set org [dict get $data org]set asn [dict get $data as]set asname [dict get $data asname]if { [dict get $data mobile] eq "true"} { set mobile 1 } else  { set mobile 0 }if { [dict get $data proxy] eq "true"} { set proxy 1 } else  { set proxy 0 }if { [dict get $data hosting] eq "true"} { set hosting 1 } else  { set hosting 0 }</code></pre></div> <strong>script</strong> </div></blockquote><div class="codebox"><p>Code: </p><pre><code># -----------------------------------# IP/DOMAIN API info from ip-api.com# -----------------------------------  bind pub - !ip ipapi  bind pub - !ipapi ipapi  bind pub - !ipinfo ipapi  package require http  package require tls  package require json  proc ipapi {nick host hand chan arg} {  http::register https 443 [list ::tls::socket -autoservername true]  if {![llength [split $arg]]} {    putserv "notice $nick :Use: !ip 127.0.0.1 or !ip mydomain.com"    return 0  }  # JSON regexp  set url "http://ip-api.com/json/$arg"   set page [http::data [http::geturl $url -timeout 10000]]  ::http::cleanup $page  ::http::unregister https    # Page=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,query  # $page is the result of your geturl  set data [::json2dict $page]  set country [dict get $data country]  putserv "privmsg $chan :IP-API: $arg $country"  }</code></pre></div>I'm just trying to get data on country to test only no results. What i'm doing wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Thu Dec 14, 2023 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-14T13:19:24-04:00</updated>

		<published>2023-12-14T13:19:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112315#p112315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112315#p112315"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112315#p112315"><![CDATA[
Thx for the tips they all welcome, and i searched before i started to make this one. <br>Going to use that json to get some basics ^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Thu Dec 14, 2023 1:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-12-14T04:25:51-04:00</updated>

		<published>2023-12-14T04:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112314#p112314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112314#p112314"/>
		<title type="html"><![CDATA[Re: IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112314#p112314"><![CDATA[
ip-api returns a json, so use json package to parse it (json2dict), don't treat it as simple string.<br><br>And I'm sure there is already ip-api script samples in this forum.<br>If not, here is a small tip:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl"># $page is the result of your geturlset data [::json2dict $page]set ip [string map {" " ":"} [dict get $data query]]set country [dict get $data country]set city [dict get $data city]set lat [dict get $data lat]set lon [dict get $data lon]set isp [dict get $data isp]set org [dict get $data org]set asn [dict get $data as]set asname [dict get $data asname]if { [dict get $data mobile] eq "true"} { set mobile 1 } else  { set mobile 0 }if { [dict get $data proxy] eq "true"} { set proxy 1 } else  { set proxy 0 }if { [dict get $data hosting] eq "true"} { set hosting 1 } else  { set hosting 0 }</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Dec 14, 2023 4:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Henkie2]]></name></author>
		<updated>2023-12-21T17:42:53-04:00</updated>

		<published>2023-12-13T21:01:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112313#p112313</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112313#p112313"/>
		<title type="html"><![CDATA[IP-Api.com Simple IP info TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112313#p112313"><![CDATA[
Trying to learn some TCL and API, this is my first simple script. Maybe the code is not the best, all tips and hints are welcome.<br><br>(trying to get JSON to work only the end not works, to get the error message no data found, any one can help?)<br><br>Usage: !ip 127.0.0.1 or !ip mydomain.com to get channel results from ip-api.com<br>use https as url to get https!<br><br>Results are: <br>status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,query<br><br>XML version<div class="codebox"><p>Code: </p><pre><code># -----------------------------------# IP/DOMAIN API info from ip-api.com# -----------------------------------  # Setup the triggers  bind pub - !ip ipapi  bind pub - !host ipapi  bind pub - !ipapi ipapiproc ipapi {nick host hand chan txt} {  package require http  if {![catch {package require tls}]} { ::http::register https 443 [list ::tls::socket -autoservername true] }  if {![llength [split $txt]]} {    putserv "notice $nick :Use: !ip 127.0.0.1 or !ip mydomain.com"    return 0  }  # XML regexp api request  set url "http://ip-api.com/xml/$txt"   set page [http::data [http::geturl $url -timeout 10000]]  ::http::cleanup $page  ::http::unregister https    # Page=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,query  regexp {&lt;isp&gt;(.*?)&lt;\/isp&gt;} $page a isp  regexp {&lt;country&gt;(.*?)&lt;\/country&gt;} $page a country  regexp {&lt;timezone&gt;(.*?)&lt;\/timezone&gt;} $page a timezone  regexp {&lt;status&gt;(.*?)&lt;\/status&gt;} $page a status  regexp {&lt;city&gt;(.*?)&lt;\/city&gt;} $page a city  regexp {&lt;regionName&gt;(.*?)&lt;\/regionName&gt;} $page a regionName  regexp {&lt;lat&gt;(.*?)&lt;\/lat&gt;} $page a lat  regexp {&lt;lon&gt;(.*?)&lt;\/lon&gt;} $page a lon  regexp {&lt;zip&gt;(.*?)&lt;\/zip&gt;} $page a zip  regexp {&lt;org&gt;(.*?)&lt;\/org&gt;} $page a org  regexp {&lt;query&gt;([0-9]+(\.[0-9]+)+)&lt;/query&gt;} $page a query  regexp {&lt;hosting&gt;(.*?)&lt;\/hosting&gt;} $page a hosting  regexp {&lt;proxy&gt;(.*?)&lt;\/proxy&gt;} $page a proxy  regexp {&lt;mobile&gt;(.*?)&lt;\/mobile&gt;} $page a mobile    # Announce to channel  if {[info exists country]} {        putserv "privmsg $chan :\00303IP-API:\003 $query \00303ISP:\003 $isp \00303ORG:\003 $org \00303COUNTRY:\003 $country"  if {[info exists lat]} {        putserv "privmsg $chan :\00303IP-API:\003 \00303CITY:\003 $city ($zip) \00303REGION:\003 $regionName ($lat,$lon) \00303TIMEZONE:\003 $timezone"  }  if {[info exists hosting]} {        putserv "privmsg $chan :\00303IP-API:\003 \00303HOSTING:\003 $hosting \00303PROXY:\003 $proxy \00303MOBILE:\003 $mobile"  }  } else {  putserv "privmsg $chan :\00303IP-API:\003 No data found. Used correct IP/Domain?" }}  putlog "\[SCRiPT\] IP-API XML Info :: Loaded successfully."</code></pre></div>JSON version<div class="codebox"><p>Code: </p><pre><code># -----------------------------------# IP/DOMAIN API info from ip-api.com# ----------------------------------- bind pub - !ip ipapiproc bind pub - !host ipapiproc bind pub - !ipapi ipapiproc bind pub - !ipinfo ipapiproc package require http package require tls package require jsonproc ipapiproc {nick host hand chan text} { ::http::register https 443 [list ::tls::socket -autoservername true] if {![llength [split $text]]} { putserv "NOTICE $nick :Use: !ip 127.0.0.1 or !ip mydomain.com" return 0 } # JSON regexp API call set url "http://ip-api.com/json/$text"  set token [::http::geturl $url -timeout 10000] set page [::http::data $token] upvar 0 $token state if {$state(status) ne "ok"} { putserv "PRIVMSG $chan :\00303IP-API:\003 $state(url) made $state(status) error" return 0 } ::http::cleanup $token ::http::unregister https # $page is the result of your geturl # Page=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,asn,query,continent,continentCode,currency,asname,mobile,proxy,hosting set data [json::json2dict $page] set ip [string map {" " ":"} [dict get $data query]] set isp [dict get $data isp] set country [dict get $data country] set countryCode [dict get $data countryCode] set org [dict get $data org] set city [dict get $data city] set zip [dict get $data zip] set regionName [dict get $data regionName] set lat [dict get $data lat] set lon [dict get $data lon] # Works only on HTTPS (paid service) #if { [dict get $data mobile] eq "true"} { set mobile avaible } else  { set mobile n/a } #if { [dict get $data proxy] eq "true"} { set proxy avaible } else  { set proxy n/a } #if { [dict get $data hosting] eq "true"} { set hosting avaible } else  { set hosting n/a } # Announce data to $chan if {[dict get $data status] eq "fail"} { set status [dict get $data message] putserv "PRIVMSG $chan :\00303IP-API:\003 $message ($ip). Used correct IP/Domain?" return  0 } if {[info exists country]} { putserv "PRIVMSG $chan :\00303IP-API:\003 $ip - \00303ISP:\003 $isp \00303ORG:\003 $org \00303COUNTRY:\003 $countryCode, $country" } if {[info exists lat]} { putserv "PRIVMSG $chan :\00303IP-API:\003 \00303CITY:\003 $city \00303ZIP:\003 $zip\00303 REGION:\003 $regionName ($lat,$lon)" } if {[info exists mobile]} { putserv "PRIVMSG $chan :\00303IP-API:\003 \00303HOSTING:\003 $hosting \00303PROXY:\003 $proxy \00303MOBILE:\003 $mobile" } else { putserv "PRIVMSG $chan :\00303IP-API:\003 No data found. Used correct IP/Domain?" }}  putlog "\[SCRiPT\] IP-API Info :: Loaded successfully."  </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12567">Henkie2</a> — Wed Dec 13, 2023 9:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
