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

	<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-01-04T09:50:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BloodyAngel]]></name></author>
		<updated>2007-01-04T09:50:35-04:00</updated>

		<published>2007-01-04T09:50:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69462#p69462</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69462#p69462"/>
		<title type="html"><![CDATA[Need some help &quot;Gameserver_Query&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69462#p69462"><![CDATA[
Ok this problems are cleared...<br><br>but i got another one <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>hope anybody could help me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>This ist the text of the "quellcode"<br><br>&lt;!-- &lt;serverinfo&gt; &lt;serverip&gt; 213.19.130.126:1716 &lt;/serverip&gt;&lt;servername&gt;[Noway-Clan] -Viking Berserkers- &lt;/servername&gt;&lt;mapname&gt; SF Pipeline &lt;/mapname&gt; &lt;spieler&gt; 20/20 &lt;/spieler&gt; &lt;runde&gt; 55/7 &lt;/runde&gt; &lt;zeit&gt; 6:42 &lt;/zeit&gt; --&gt;<br><br>But if i will get "zeit" (time) he dont write it correct.<br><br>He write it without ":" and without the first number like this:<br><br>«14:15:55» «+e`On][MusicBox»  Zeit: 42<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8566">BloodyAngel</a> — Thu Jan 04, 2007 9:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BloodyAngel]]></name></author>
		<updated>2007-01-03T07:48:32-04:00</updated>

		<published>2007-01-03T07:48:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69441#p69441</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69441#p69441"/>
		<title type="html"><![CDATA[Need some help &quot;Gameserver_Query&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69441#p69441"><![CDATA[
thx for help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>But this is what i tried before, and it was the same <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>He write it one below the other<br><br>Name: Blablabla<br>Honor: 34<br><br>Maybe it could be a fault of the html code?<br><blockquote class="uncited"><div> &lt;td&gt; &lt;/td&gt;<br> &lt;td align="left"&gt;&lt;playername&gt;FFC.ZWER&lt;/playername&gt;&lt;/td&gt;<br> &lt;td align="center"&gt;&lt;playerhonor&gt;76&lt;/playerhonor&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerkills&gt;4&lt;/playerkills&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerkia&gt;3&lt;/playerkia&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerscore&gt;50&lt;/playerscore&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playergoals&gt;40&lt;/playergoals&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerleader&gt;&lt;/playerkills&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerroe&gt;0&lt;/playerroe&gt;&lt;/td&gt;<br> &lt;td align="right"&gt;&lt;playerping&gt;22&lt;/playerping&gt;&lt;/td&gt;<br> &lt;td&gt; &lt;/td&gt;</div></blockquote>Hmmm i try it with a hidde line <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8566">BloodyAngel</a> — Wed Jan 03, 2007 7:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-01-02T20:20:03-04:00</updated>

		<published>2007-01-02T20:20:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69437#p69437</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69437#p69437"/>
		<title type="html"><![CDATA[Need some help &quot;Gameserver_Query&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69437#p69437"><![CDATA[
Try changing:<br><div class="codebox"><p>Code: </p><pre><code>putchan $chan "$bold Name: $bold2 $player; $honor"</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>putchan $chan "$bold Name: $bold2 $player $honor"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Tue Jan 02, 2007 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BloodyAngel]]></name></author>
		<updated>2007-01-02T17:09:19-04:00</updated>

		<published>2007-01-02T17:09:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69429#p69429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69429#p69429"/>
		<title type="html"><![CDATA[Need some help &quot;Gameserver_Query&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69429#p69429"><![CDATA[
I am new and have a problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Ok i will write a script wich gets some informations about a gameserver.<br>The informations can be read via a webbrowser tool named "webspectatort"<br><br>here the script:<br><blockquote class="uncited"><div>proc shrink { calc number string start bl} { return [expr [string first "$string" $bl $start] $calc $number] }<br><br>proc pub:serverinfo {nick uhost hand chan arg} {<br>global ip port <br>set temp [open "ip" r]<br>set ip [gets $temp]<br>close $temp<br>set temp [open "port" r]<br>set port [gets $temp]<br>close $temp<br>if {[catch {set sock [socket <a href="http://www.project-weltherrschaft.de" class="postlink">www.project-weltherrschaft.de</a> 80] } sockerror]} {<br>putlog "error: $sockerror"<br>return 0 } else {<br>puts $sock "GET <a href="http://www.project-weltherrschaft.de/~janina/webspec/index.php" class="postlink">http://www.project-weltherrschaft.de/~j ... /index.php</a> HTTP/1.0"<br>puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)"<br>puts $sock "Host: <a href="http://www.project-weltherrschaft.de" class="postlink">www.project-weltherrschaft.de</a>"<br>puts $sock "Connection: close"<br>puts $sock ""<br>flush $sock<br>while {[eof $sock] != 1} {<br>set bl [gets $sock]<br>set player [string range $bl [shrink + 12 "&lt;playername&gt;" 0 $bl] [shrink - 1 "&lt;/playername&gt;" 0 $bl]]<br>set honor [string range $bl [shrink + 13 "&lt;playerhonor&gt;" 0 $bl] [shrink - 1 "&lt;/playerhonor&gt;" 0 $bl]]<br>set bold "\002\00315,1"<br>set bold2 "\002\0037,1"<br>putchan $chan "$bold Playerliste:"<br>putchan $chan "$bold Name: $bold2 $player; $honor"<br>}}<br>close $socks<br>}</div></blockquote>So the problem is, that the bot post it line by line<br><br>«21:25:54» «+e`On][MusicBox»  Playerliste:<br>«21:25:56» «+e`On][MusicBox»  Name:   Honor:<br>«21:25:58» «+e`On][MusicBox»  Name:  oldboys]Kampf_Sani  Honor:<br>«21:26:00» «+e`On][MusicBox»  Name:   Honor: 47<br>«21:26:02» «+e`On][MusicBox»  Name:  theFAB.clobystar  Honor:<br>«21:26:04» «+e`On][MusicBox»  Name:   Honor: 81<br>«21:26:06» «+e`On][MusicBox»  Name:  [-OMA-]H!t]-[M@n  Honor:<br>«21:26:08» «+e`On][MusicBox»  Name:   Honor: 95<br><br>How can i script it, that he wrote it like this:<br>Name:  oldboys]Kampf_Sani  Honor: 85<br><br>And why is the first line empty?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8566">BloodyAngel</a> — Tue Jan 02, 2007 5:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
