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

	<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>2002-08-28T18:14:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T18:14:06-04:00</updated>

		<published>2002-08-28T18:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10172#p10172</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10172#p10172"/>
		<title type="html"><![CDATA[WolfStats tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10172#p10172"><![CDATA[
Sure I'm here ETG #toplum<p>Statistics: Posted by Guest — Wed Aug 28, 2002 6:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T18:10:21-04:00</updated>

		<published>2002-08-28T18:10:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10170#p10170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10170#p10170"/>
		<title type="html"><![CDATA[WolfStats tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10170#p10170"><![CDATA[
You have the latest version of http.tcl (the same version I used)<br><br>Maybe if we meet on IRC I will be able to help you out.. the "blah - 16" is a side effect, it can easily be removed, I was using it for debugging.<br><br>Your bot crashes? That must be a problem with windrop. I can try and find a way around it, maybe, but It'll be a lot easier if we do this on IRC<p>Statistics: Posted by Guest — Wed Aug 28, 2002 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T18:05:43-04:00</updated>

		<published>2002-08-28T18:05:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10167#p10167</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10167#p10167"/>
		<title type="html"><![CDATA[WolfStats tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10167#p10167"><![CDATA[
I have HTTP.tcl ver. 2.4 If I load it with the bot the script you wrote crashes if i dont load the http script and run  your script it says retrieving data... please allow up to 30 seconds...<br>but it never shows anything. If i do a !wstat again the bot crashes.<br>I'm running windrop also. In dcc chat with the bot I get blah -16 when i run this script. I looked for a updated bversion of http.tcl but only found this one.<br>=[<p>Statistics: Posted by Guest — Wed Aug 28, 2002 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T08:22:40-04:00</updated>

		<published>2002-08-28T08:22:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10110#p10110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10110#p10110"/>
		<title type="html"><![CDATA[WolfStats tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10110#p10110"><![CDATA[
Oh, and I also used a special 'space' character on the second | ---------------- | ------- | to prevent the eggdrop deleting it, thinking it is a duplicate message<p>Statistics: Posted by Guest — Wed Aug 28, 2002 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T07:59:51-04:00</updated>

		<published>2002-08-28T07:59:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10107#p10107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10107#p10107"/>
		<title type="html"><![CDATA[Uhh, the output.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10107#p10107"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[12:58:17] &lt;@[rSu]iridium&gt; !wstat[12:58:18] &lt;@DeepBlue&gt; Retrieving data.. please allow up to 30 seconds..[12:58:34] &lt;@DeepBlue&gt; | ---------------- | ------- |[12:58:35] &lt;@DeepBlue&gt; | Name             | Score   |[12:58:36] &lt;@DeepBlue&gt; | ---------------- | ------- |[12:58:38] &lt;@DeepBlue&gt; | xil-MentholMoose | 459     |[12:58:40] &lt;@DeepBlue&gt; | [u]Korollary     | 414     |[12:58:42] &lt;@DeepBlue&gt; | [DS-P]StarCat    | 339     |[12:58:44] &lt;@DeepBlue&gt; | f!Spetsnaz       | 287     |[12:58:46] &lt;@DeepBlue&gt; | [BvR]BeaveRmanA  | 264     |[12:58:48] &lt;@DeepBlue&gt; | Decap Latte      | 243     |[12:58:50] &lt;@DeepBlue&gt; | T^0wi^0t         | 230     |[12:58:52] &lt;@DeepBlue&gt; | -xTc][Slowpa!n-  | 228     |[12:58:54] &lt;@DeepBlue&gt; | Slowpa1n         | 211     |[12:58:56] &lt;@DeepBlue&gt; | [u]GrmReap0r     | 208     |[12:58:58] &lt;@DeepBlue&gt; | RobinHood        | 205     |</code></pre></div>You need the http package for this to work. Only the owners can use the !wstat command.<p>Statistics: Posted by Guest — Wed Aug 28, 2002 7:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T07:56:46-04:00</updated>

		<published>2002-08-28T07:56:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10106#p10106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10106#p10106"/>
		<title type="html"><![CDATA[Have fun now.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10106#p10106"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpbind pub n !wstat getwolfstatproc getwolfstat {nick host hand chan args} {set token [::http::geturl "http://www.dropscape.com/stats/dropscape/wolfstat.html" -command getwolfcallback]putserv "PRIVMSG $chan :Retrieving data.. please allow up to 30 seconds.."}proc getwolfcallback {token} {set mydata [::http::data $token]::http::cleanup $tokenprocesswolfdata $mydata}proc processwolfdata {mydata} {set position [string first "CLASS=\"PLAYERS_FIELDS_NAME_HL\"" $mydata]set maxlen 0for {set i 0} {$i &lt;= 10} {incr i} {set position [string first "&lt;a href" $mydata $position]set endpos [string first "&lt;/a&gt;" $mydata $position]set name [lindex [split [string range $mydata $position $endpos] &lt;&gt;] 2]set position [string first "CLASS=\"PLAYERS_FIELDS_HL\"" $mydata $position]set endpos [string first "&lt;/td&gt;" $mydata $position]set score [lindex [split [string range $mydata $position $endpos] &lt;&gt;] 1]lappend names [list $name $score]if {$maxlen &lt; [string length $name]} {set maxlen [string length $name]}set position [string first "CLASS=\"PLAYERS_FIELDS_NAME_HL\"" $mydata $position]}putlog "blah - $maxlen"set text "Name"set score "Score"set maxlens 7putserv "PRIVMSG #b0ts :| [string repeat "-" $maxlen] | [string repeat "-" $maxlens] |"putserv "PRIVMSG #b0ts :| ${text}[string repeat " " [expr $maxlen - [string length $text] ]] | ${score}[string repeat " " [expr $maxlens - [string length $score] ]] |"putserv "PRIVMSG #b0ts :| [string repeat "-" $maxlen] | [string repeat "-" $maxlens] |"foreach z $names {putserv "PRIVMSG #b0ts :| [lindex $z 0][string repeat " " [expr $maxlen - [string length [lindex $z 0]] ]] | [lindex $z 1][string repeat " " [expr $maxlens - [string length [lindex $z 1]] ]] |"#putlog "-[expr [string length [lindex $z 0]] - $maxlen]"}}</code></pre></div><p>Statistics: Posted by Guest — Wed Aug 28, 2002 7:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-27T15:49:24-04:00</updated>

		<published>2002-08-27T15:49:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10080#p10080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10080#p10080"/>
		<title type="html"><![CDATA[WolfStats tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10080#p10080"><![CDATA[
Anyone fell like wrighting a short tcl script to pull the top 10 names only from here <a href="http://www.dropscape.com/stats/dropscape/wolfstat.html" class="postlink">http://www.dropscape.com/stats/dropscape/wolfstat.html</a> and show them in irc? If you have paypal or what ever, I would be willing to donate to your time =]<br><a href="mailto:StarCat@dropscape.com">StarCat@dropscape.com</a><br>thanks guys<p>Statistics: Posted by Guest — Tue Aug 27, 2002 3:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
