This seems to work [thanks for your help smile]:
Code:
 
on 1:sockopen:sClient: {
  %nick = soupy
  ; Set the binary variable &nick to the data that we need to send
  bset -t &nick 1 NICK %nick $+ $crlf
  ; Append a nullchar
  bset &nick $calc($len(NICK %nick $+ $crlf) + 1) 0
  ; Send it off
  sockwrite sClient &nick
  bset -t &user 1 USER %nick icq.com irc.icq.com : %nick $+ $crlf
  bset &user $calc($len(USER %nick icq.com irc.icq.com : %nick $+ $crlf) + 1) 0
  sockwrite sClient &user
  /*
  sockwrite sClient NICK %nick $+ $crlf $+ $null
  sockwrite sClient USER %nick icq.com irc.icq.com : %nick $+ $crlf $+ $null
  */
}
 

Once again, thankyou for helping.