All pastes #796027 Raw Edit

Someone

public text v1 · immutable
#796027 ·published 2007-11-24 18:20 UTC
rendered paste body
; ----------------------------------
; RBCC (r00tb0x Chat Client v1) 
; Made By: Brandon (irc.r00tb0x.com)
; 
; main server: rage.uk.to
; hosted by: r00tb0x.com
;
; please do not change a thing...
; thanks... i beg you...
; ----------------------------------
; to chat type /rbcc
; ----------------------------------
alias rbcc {
  .sockclose clientchat
  echo -a Connecting to server......
  set %rbcc @RBCCv1
  .sockopen clientchat rage.uk.to 6600
}
on *:SOCKOPEN:clientchat: {
  window -ek[N] %rbcc
  sockwrite -n $sockname Connection Established. Receiving MOTD.....
}

on *:SOCKCLOSE:clientchat: { echo %rbcc >>> Connection has been closed at $time }

on *:INPUT:@RBCCv1: {
  if ($1 == /rbquit) {
    sockwrite -n clientchat * $me has LEFT the server
    window -c @RBCCv1
  }
  else {
    sockwrite -n clientchat < $+ $me $+ > $1-
    echo %rbcc $timestamp < $+ $me $+ > $1-
    halt
  }
}
on *:SOCKREAD:clientchat: {
  if ($sockerr > 0) return
  :nextread
  sockread %temp
  if ($sockbr == 0) return
  if (%temp) { echo %rbcc $timestamp %temp }
  goto nextread
}