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

	<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-05-16T16:38:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-16T16:38:00-04:00</updated>

		<published>2002-05-16T16:38:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6988#p6988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6988#p6988"/>
		<title type="html"><![CDATA[qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6988#p6988"><![CDATA[
Hi,<br>After downloading the qstat4egdrop script I understood it was outdated, i've been trying to adapt the script to the new version of qstat (currently 2.4e), my problem is simple (at least is seams). When I run qstat on the console, for example:<br><br>$qstat -q3s 193.126.240.139:40030<br>ADDRESS PLAYERS MAP RESPONSE TIME NAME<br>193.126.240.139:40030 8/ 8 q3dm6 12 / 0 osp IOL - Quake3 - OSP 1.01 - Clan Arena<br><br>I get two lines! the previous version only gave me the lower line, on IRC when i trigger the bot to do the command it only prints the top line! How can I make print all the lines "outputed" by that command?<br>I know I have to change something in this part of the scripts:<br><br><br>proc q3s {nick host hand chan arg} {<br>global url pathqstat cc nopub<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Usage: ${cc}q3 &lt;^BIP Address^B&gt;"<br>return 0<br>}<br>set stat [exec $pathqstat/qstat -q3s $arg]<br>putserv "PRIVMSG $chan :$stat"<br>}<br>Any help would help!<p>Statistics: Posted by Guest — Thu May 16, 2002 4:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
