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

	<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>2007-09-14T19:36:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spijon]]></name></author>
		<updated>2007-09-14T19:36:48-04:00</updated>

		<published>2007-09-14T19:36:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75937#p75937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75937#p75937"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75937#p75937"><![CDATA[
Yeah i know but it still doesnt work with the http.tcl - think they made site php different or something<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8142">spijon</a> — Fri Sep 14, 2007 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-09-13T00:54:39-04:00</updated>

		<published>2007-09-13T00:54:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75909#p75909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75909#p75909"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75909#p75909"><![CDATA[
I think the author was referring to <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1055" class="postlink">http.tcl script</a> by perpleXa<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu Sep 13, 2007 12:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spijon]]></name></author>
		<updated>2007-09-12T19:35:34-04:00</updated>

		<published>2007-09-12T19:35:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75900#p75900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75900#p75900"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75900#p75900"><![CDATA[
Doesnt work :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8142">spijon</a> — Wed Sep 12, 2007 7:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spijon]]></name></author>
		<updated>2007-09-02T21:02:13-04:00</updated>

		<published>2007-09-02T21:02:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75637#p75637</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75637#p75637"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75637#p75637"><![CDATA[
My bad .. need sleep <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8142">spijon</a> — Sun Sep 02, 2007 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-09-02T20:10:16-04:00</updated>

		<published>2007-09-02T20:10:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75635#p75635</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75635#p75635"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75635#p75635"><![CDATA[
I would assume such from reading the comments in the beginning of the script:<blockquote class="uncited"><div># Script to get some extra information about the IP-Adress of your Counter-Strike Source server<br># Script made by Mookie@Efnet Contact me for more information<br># Suggestions are always welcome, post them on the forum on egghelp.or<br># Make sure you load http.tcl</div></blockquote>However, the proper way would be to use "package require http" within the script, as the location of the http-package is system-dependant...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Sep 02, 2007 8:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spijon]]></name></author>
		<updated>2007-09-02T20:00:38-04:00</updated>

		<published>2007-09-02T20:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75634#p75634</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75634#p75634"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75634#p75634"><![CDATA[
Does the tcl need http module?<br><br>I getting the error :<br>"cl error [lookup]: invalid command name "http::formatQuery""<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8142">spijon</a> — Sun Sep 02, 2007 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maiki]]></name></author>
		<updated>2007-08-22T12:51:15-04:00</updated>

		<published>2007-08-22T12:51:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75443#p75443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75443#p75443"/>
		<title type="html"><![CDATA[Counter strike server look up..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75443#p75443"><![CDATA[
I made this script because i used to play alot of counter strike source in the days.. This script simply looks up the IP adress you give of you're server.<br>Suggestions / Ideas are welcome!!<br><div class="codebox"><p>Code: </p><pre><code># Script to get some extra information about the IP-Adress of your Counter-Strike Source server# Script made by Mookie@Efnet Contact me for more information# Suggestions are always welcome, post them on the forum on egghelp.or# Make sure you load http.tcl# Settings# Bind key? Default: !ipset game(trigger) "!ip"# Get-url timeout. Recommed to keep this as defaultset game(timeout) "60000"########################################################### Don't edit below unless you know what you're doing. ###########################################################bind msg n !lasterror showlasterrorproc showlasterror {n u h t} {   foreach line [split $::errorInfo \n] { putserv "PRIVMSG $n :$line" }}bind pub - $::game(trigger) lookupproc lookup {nick uhost hand chan arg} {   global game   # Check if $arg exists   if {![regexp -- {^(.+?):(.+?)$} $arg]} { putmsg $chan "Right format is: $::game(trigger) IP"; return }   # Set formdata   set formdata [http::formatQuery search $arg type server game cstrike2]   # Going to url   catch {set tok [http::geturl http://game-monitor.com/search.php?$formdata -timeout $::game(timeout)]} error   if {[string match -nocase "*couldn't open socket*" $error]} {      putlog "Error trying connect to url."      return   }   # Went to url, setting data   set data [http::data $tok]   # Cleaning   http::cleanup $tok   # Regex time   regexp -- {&lt;b&gt;Total Players/Max&lt;/b&gt;(.+?)$} $data -&gt; players   if {![regexp -nocase {&lt;a href="/GameServer/(.+?)"&gt;(.+?)&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;} $data -&gt; url title]} { putmsg $chan "Could not find someting for \"$arg\""; return }   regsub -all {&lt;.*?&gt;|&amp;nbsp} $title {} title   regexp -- {&lt;td&gt;&lt;a href="/MapSearch/cstrike2/.*?/"&gt;(.*?)&lt;/a&gt;} $data -&gt; map   # Shout the result   putmsg $chan "Title: $title Map: $map Players$players"}putlog "CSS Game-monitor script loaded by Mookie" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9009">Maiki</a> — Wed Aug 22, 2007 12:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
