Ok, well i might have found something.. to go somewhere atleast.
Notice in the C# code that it splits the string into an Array for each character.
Now with the -f Flag on sockread i get the 1st character of the string i am sending..
i've been away so long from mIRC im kinda lost. Can mIRC even hold arrays? Is it possible that "data" is an array? Heres an updated look at my mIRC code, and its output.
on *:sockread:_server: {
if ( $sockerr ) {
return
}
sockread -f %data
echo -s (Server) ( $+ %data $+ )
unset %data
}
thats after sending the following string (before its chopped into the array)
*edit*
Whoa.. Interesting turn of events. It apears the message is stored in in mIRC buffer or something. Note my repeated attempts. I changed the message and noticed it wasent the right character. Take note at what it is spelling.
(Server) (r)
(Server) ()
(Server) ()
(Server) (h)
(Server) (T)
(Server) (e)
(Server) (x)
(Server) (t)
(Server) (B)
( the two blank spots i was trying to get an array to work )
Is there a way to flush the buffer into a string?