; ---------------------------------- ; 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 { window -ek[N] %rbcc .sockclose clientchat set %rbcc @RBCCv1 .sockopen clientchat rage.uk.to 6600 } on *:SOCKOPEN:clientchat: { sockwrite -n $sockname * $me is connecting to the server! } on *:SOCKCLOSE:clientchat: { echo -s >>> Connection has been closed at $time } alias nd { set %ndesign $1- sockwrite -n clientchat * $me changes his design to: %ndesign } on *:INPUT:@RBCCv1: { if ($1 == /nme) { sockwrite -n clientchat * $me $2- } if ($1 == /stop) { window -c @RBCCv1 sockwrite -n clientchat * $me has lost connection (QUIT: $2- $+ ) } else { sockwrite -n clientchat <12¿ $+ $me $+ 12?> $1- halt } } on *:SOCKREAD:clientchat: { if ($sockerr > 0) return :nextread sockread %temp if ($sockbr == 0) return if (%temp) { echo @RBCCv1 $timestamp %temp } goto nextread }