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

	<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>2006-07-23T04:56:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-07-23T04:56:24-04:00</updated>

		<published>2006-07-23T04:56:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64803#p64803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64803#p64803"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64803#p64803"><![CDATA[
Between using "string trim" and  "if {$var != ""}"  you can assemble your output into the format you want. But really, you need to read the docs =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Jul 23, 2006 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-07-22T17:12:17-04:00</updated>

		<published>2006-07-22T17:12:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64797#p64797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64797#p64797"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64797#p64797"><![CDATA[
Nobody?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Sat Jul 22, 2006 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-07-05T19:25:01-04:00</updated>

		<published>2006-07-05T19:25:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64507#p64507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64507#p64507"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64507#p64507"><![CDATA[
Okay now it gives output but;<br><div class="codebox"><p>Code: </p><pre><code>&lt;TommyBOT&gt;    0&lt;TommyBOT&gt;    -&lt;TommyBOT&gt;    236096&lt;TommyBOT&gt;   &lt;TommyBOT&gt;   &lt;TommyBOT&gt;    Witlof&lt;TommyBOT&gt;    2&lt;TommyBOT&gt;    0&lt;TommyBOT&gt;    0&lt;TommyBOT&gt;    -&lt;TommyBOT&gt;    50979</code></pre></div>Im getting crazy. Dunno how to fix this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>See <a href="http://tadah.mine.nu/xml/list.php?tabel=subteamoffset&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant" class="postlink">http://tadah.mine.nu/xml/list.php?tabel ... on_Brabant</a><br><br>Aint it possible to show this in the chat like this?<br><br><a href="http://tadah.mine.nu/index.php?mode=Subteam&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant&amp;tabel=subteamoffset" class="postlink">http://tadah.mine.nu/index.php?mode=Sub ... teamoffset</a><br><br>Because its the same data. Maybe that it can be printed like this;<br><br>Position - Output - Member<br>1 - 10.000 - member 1<br>2 - 7.000 - member 2<br><br>And go so one.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Wed Jul 05, 2006 7:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2006-06-13T02:55:02-04:00</updated>

		<published>2006-06-13T02:55:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63956#p63956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63956#p63956"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63956#p63956"><![CDATA[
add foo on the end of the bind<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !test foo</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Tue Jun 13, 2006 2:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-12T12:04:37-04:00</updated>

		<published>2006-06-12T12:04:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63934#p63934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63934#p63934"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63934#p63934"><![CDATA[
bump<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Mon Jun 12, 2006 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-05T12:55:03-04:00</updated>

		<published>2006-06-05T12:55:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63740#p63740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63740#p63740"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63740#p63740"><![CDATA[
No errors anymore, but no text neither <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>&lt;TommyGun&gt; !test<br>&lt;TommyGun&gt; !test<br>&lt;TommyGun&gt; !test<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Mon Jun 05, 2006 12:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-06-05T10:52:58-04:00</updated>

		<published>2006-06-05T10:52:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63736#p63736</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63736#p63736"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63736#p63736"><![CDATA[
The error tells you what the problem is, look at the braces.<div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !testproc foo {n u h c t} { set x [::http::geturl http://tadah.mine.nu/xml/list.php?tabel=subteamoffset&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant] foreach e [split [::http::data $x] \n] {  regsub -all {&lt;([^&lt;])*&gt;} $e {} e  puthelp "privmsg $c :$e" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 05, 2006 10:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-05T09:44:37-04:00</updated>

		<published>2006-06-05T09:44:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63734#p63734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63734#p63734"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63734#p63734"><![CDATA[
I did forget to say that;<br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !testproc foo {n u h c t} {   set x [::http::geturl http://tadah.mine.nu/xml/list.php?tabel=subteamoffset&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant]foreach e [split [::http::data $x] \n] {  regsub -all {&lt;([^&lt;])*&gt;} $e {} e  puthelp "privmsg $c :$e"}</code></pre></div>Doesnt work. It says;<br><div class="codebox"><p>Code: </p><pre><code>[15:44] Tcl error in file 'TommyBOT.conf':[15:44] missing close-brace    while executing"proc foo {n u h c t} {   set x [::http::geturl http://tadah.mine.nu/xml/list.php?tabel=subteamoffset&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant]forea..."    (file "TommyBOT.conf" line 1354)[15:44] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)[tommygun@server eggdrop]$</code></pre></div>I don't see where it goes wrong. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Mon Jun 05, 2006 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-06-04T22:00:46-04:00</updated>

		<published>2006-06-04T22:00:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63720#p63720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63720#p63720"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63720#p63720"><![CDATA[
you left the old <div class="codebox"><p>Code: </p><pre><code>   foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"} </code></pre></div>in there, you should have changed it with what I gave you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Jun 04, 2006 10:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-04T21:16:18-04:00</updated>

		<published>2006-06-04T21:16:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63719#p63719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63719#p63719"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63719#p63719"><![CDATA[
Thanks for your help.<br><br>Now i have<br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !testproc foo {n u h c t} {   set x [::http::geturl http://tadah.mine.nu/xml/list.php?tabel=subteamoffset&amp;prefix=rah&amp;team=%5BDPC%5DDivision_Brabant]   foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"}  regsub -all {&lt;([^&lt;])*&gt;} $e {} e  puthelp "privmsg $c :$e" }</code></pre></div>But i still get the same output. Am i doing someting wrong?<br><br>Sorry for my nooby  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Sun Jun 04, 2006 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-06-04T18:46:56-04:00</updated>

		<published>2006-06-04T18:46:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63714#p63714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63714#p63714"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63714#p63714"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach e [split [::http::data $x] \n] {  regsub -all {&lt;([^&lt;])*&gt;} $e {} e  puthelp "privmsg $c :$e"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Jun 04, 2006 6:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-04T18:29:27-04:00</updated>

		<published>2006-06-04T18:29:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63713#p63713</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63713#p63713"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63713#p63713"><![CDATA[
I tried to just place it somewhere in the code but that doesnt work  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><br>Maybe u can help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Sun Jun 04, 2006 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-01T12:17:22-04:00</updated>

		<published>2006-06-01T12:17:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63602#p63602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63602#p63602"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63602#p63602"><![CDATA[
How would the code looks like then?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Thu Jun 01, 2006 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-06-01T12:09:25-04:00</updated>

		<published>2006-06-01T12:09:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63601#p63601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63601#p63601"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63601#p63601"><![CDATA[
the http package, by default, pulls the html (xml) code<br><br>trimming the code to gather the parts you want is usually done with regexp<br><br>another way is to regsub out the code by using <div class="codebox"><p>Code: </p><pre><code>regsub -all {&lt;([^&lt;])*&gt;} $e {} e</code></pre></div> before output <br>the regsub way will not format, and may give errors on empty $e<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu Jun 01, 2006 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TommyGun]]></name></author>
		<updated>2006-06-01T09:02:39-04:00</updated>

		<published>2006-06-01T09:02:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63599#p63599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63599#p63599"/>
		<title type="html"><![CDATA[Read xml file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63599#p63599"><![CDATA[
Bump<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7803">TommyGun</a> — Thu Jun 01, 2006 9:02 am</p><hr />
]]></content>
	</entry>
	</feed>
