Code:
 on *:sockread:dccget*: {
  sockread &dccget
  :dccget
  if ($sockerr) { echo #root Sock Error $sockerr }
  if ($sockbr == 0) { sockwrite -n $sockname $lf ? | return }
  bwrite $gettok($hget($sockname,file),1,32) -1 -1 &dccget
  echo #root   sockwrite -n $sockname sent packet $sock($sockname).rcvd
  sockread &dccget
  goto dccget
} 
I am trying to make my socket dcc get, it will only download part of the file and i believe its because mirc sends something back to the sending user when the $sockbr is at 0 I was just wondering what that was or if anyone knows how to make this work!

Mod note: Moved -> Script questions are better asked in 'Scripts and Popups'.

Last edited by Mentality; 13/08/05 10:47 AM.