Hi,
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:
$qstat -q3s 193.126.240.139:40030
ADDRESS PLAYERS MAP RESPONSE TIME NAME
193.126.240.139:40030 8/ 8 q3dm6 12 / 0 osp IOL - Quake3 - OSP 1.01 - Clan Arena
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?
I know I have to change something in this part of the scripts:
proc q3s {nick host hand chan arg} {
global url pathqstat cc nopub
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "notice $nick :Usage: ${cc}q3 <^BIP Address^B>"
return 0
}
set stat [exec $pathqstat/qstat -q3s $arg]
putserv "PRIVMSG $chan :$stat"
}
Any help would help!