I am using Sockets to connect to the console of Starsiege Tribes, my idea is to get the output of the console and then relay it into IRC. It has worked so far, but I have been noticing that there is a slight issue with some of the recieved data not being parsed.
Basically there are multiple servers and the basic idea would be to interconnect them using mIRC.
I have been able to connect to the appropriate servers (local network, so not a network issue)
on *:sockread:Socket:{
var %i
sockread %i
tokenize 32 %i
var %name, %message
%name = $2
%message = $4-
aline -p @Socket %i
msg #channel $+(%name,:) %message
sockwrite -n OtherSocket Input(%message);
}
}
The problem is that sometimes there is a lot of stuff being sent through Telnet and it seems to print to the @Socket window fine, but it does not proceed further (thats the simplified code there...)
I was wondering if anyone knows of how to make it so that it evaluates the data...