TCL error [hls]: couldn't duplicate input handle: bad file n

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

I'm using a script that using qstat to get info from game servers. Its giving this error
TCL error [hls]: couldn't duplicate input handle: bad file number

I think it must be this line that is causing it but i won't know what is wrong :/
set hlstat [exec c:/windrop/qstat/qstat.exe -Ts server.qstat -Tp players.qstat -hls $arg]
putserv "PRIVMSG $chan : $hlstat"

any ideas would be apprieated
Locked