on *:sockread:Lobec:{
sockread %Lobec
if ($sock(robec).status != active) {
hadd -m Robec $calc($hget(Robec,0).item +1) %lobec
echo @state Client (saved): %Lobec
return
}
echo @state Client: %Lobec
sockwrite -tn Robec %Lobec
}
I exprienced a crash each time b4 I've added the
if ($sock(robec).status != active)
my winsock.dll (or wsock32.dll) is working 4 all other functions and it is the original file provided by winXP-pro (OS).
the queue I've created is a very limited solution.
even when u add &binVars 2 the hash table it is still limited couz when u try 2
sockwrite robec $hget(HashT,1)
and the $hget returns a &binVar so mIRC tells that line 2 long.
the only solution 4 that is 2 split the &binVar but it is still limited couz u have 2 send then few packets when it can fit in 1.
I've already splitted the &binVar but couz its a limited solution I've suggested that mIRC will save a queue 4 a socket b4 it opened.