All pastes #776475 Raw Edit

Something

public text v1 · immutable
·published 2007-11-16 02:26 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.. or look
; in the menu
; ----------------------------------

menu * {
  RBCC (Client):/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 == /stop) {
    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
}